Commit Graph

1022 Commits

Author SHA1 Message Date
Arvid Norberg 37225b71ae const static -> static const (thanks gubatron). helps swigs parser 2015-03-14 00:42:27 +00:00
Arvid Norberg 6c1df7eb55 landed the bdecode branch in master. lazy_bdecode/lazy_entry is now being replaced by bdecode/bdecode_node 2015-03-12 05:20:12 +00:00
Arvid Norberg c1dc982f4f deprecate the ptime type and related time types. just use boost::chrono / std::chrono 2015-03-12 04:34:54 +00:00
Arvid Norberg 78f65bb37f some windows fixes 2015-03-08 01:21:43 +00:00
Arvid Norberg 91270a0c2b make operation_t public and document it. include peer disconnects in client_test log 2015-02-15 05:17:09 +00:00
Arvid Norberg e15e5fd80a expand unit tests 2015-02-14 06:14:15 +00:00
Arvid Norberg 1e80629770 make printing of file progress more compact in client_test 2015-02-08 21:59:52 +00:00
Arvid Norberg 266760b70b improve client_test output 2015-02-08 03:24:56 +00:00
Arvid Norberg aa9647b5d0 fix client_test build 2015-01-19 04:46:06 +00:00
Arvid Norberg 58d93e5aa1 add new (non-deprecated) access to dht stats, asynchronously via an alert 2015-01-17 17:02:58 +00:00
Arvid Norberg a7add1787f the piece bar is no longer optional in client test 2015-01-15 07:30:51 +00:00
Arvid Norberg 79feb037b2 fix use of getcwd in make_torrent on windows 2015-01-08 20:20:44 +00:00
Arvid Norberg 05f8569f9f don't rely on internal utf8 functions from libtorrent 2015-01-08 18:19:35 +00:00
Arvid Norberg 774c3b536a fix winows build 2015-01-07 16:47:37 +00:00
Arvid Norberg 35b41858cf deprecated session_status and session::status() in favor of performance counters 2015-01-04 21:31:02 +00:00
Arvid Norberg 8b98261df1 merged changes from RC_1_0 2015-01-03 22:07:10 +00:00
Arvid Norberg 21d1f6f649 more dynamic link build fixes 2015-01-02 11:11:09 +00:00
Arvid Norberg 5c04eb7d00 fix client_test bug introduced by recent patch 2015-01-01 21:42:55 +00:00
Arvid Norberg c2a05228fd fix dynamic linking (Jamfile and dependencies on internals) 2015-01-01 18:03:56 +00:00
Arvid Norberg e13bfce017 improve printing of rates and counters in client_test 2014-12-30 20:41:58 +00:00
Arvid Norberg f77ba409fa fix typo 2014-12-30 17:05:34 +00:00
Arvid Norberg c443193ce0 add option to client_test to remove web seeds 2014-12-30 16:59:37 +00:00
Arvid Norberg 13a9c3c78d we no longer support including file-hashes when creating torrents 2014-12-17 03:50:01 +00:00
Arvid Norberg a3d1a493fd disable logging alerts in client_test 2014-12-10 09:45:38 +00:00
Arvid Norberg 0b960615b1 fix another build warning 2014-12-09 09:49:14 +00:00
Arvid Norberg 4eaec6d87f instead of using a fixed request timeout for every peer, have an adaptable one based on the average download time for a block 2014-12-08 17:06:04 +00:00
Arvid Norberg c4e5df8e4d remove the concept of timeout_extend in piece request timeouts. if a request times out, cancel it as soon as it holds up the completion of a piece 2014-12-07 22:22:38 +00:00
Arvid Norberg cc1a4dcdd7 fix examples build 2014-12-03 09:05:09 +00:00
Arvid Norberg 95fbf93e52 apply Steven Siloti's patch to client_test to enable fixed slots choker when specifying the number of unchoke slots 2014-11-30 04:57:54 +00:00
Arvid Norberg 99e1a3a829 attempted msvc-10.0 build fix 2014-11-30 00:28:03 +00:00
Arvid Norberg f98c7223b2 merged changes from RC_1_0 2014-11-29 01:53:22 +00:00
Arvid Norberg 8b4dcb2959 merged changes from RC_1_0 2014-11-28 04:53:21 +00:00
Arvid Norberg 12a29ea281 client_test print fix 2014-11-24 04:35:52 +00:00
Arvid Norberg 29fb79f60c merged changes from RC_1_0 2014-11-24 04:25:05 +00:00
Arvid Norberg 658e2ceefd merged Steven Siloti's peer crypto patch into trunk 2014-11-23 06:14:47 +00:00
Arvid Norberg 179df62379 merged changes from RC_1_0 2014-11-20 05:53:12 +00:00
Arvid Norberg 3f61ee0ff3 merged changes from RC_1_0 2014-11-19 09:23:08 +00:00
Arvid Norberg edfa38cd30 merged changes from RC_1_0 2014-11-17 03:41:01 +00:00
Arvid Norberg aae56c991c merged changes from RC_1_0 2014-11-08 16:58:18 +00:00
Arvid Norberg 3742fd2699 merged changes from RC_1_0 2014-11-02 09:41:29 +00:00
Arvid Norberg 34af25beaa merged chagnes from RC_1_0 2014-11-01 22:47:56 +00:00
Arvid Norberg 9338aa6c60 some more refactoring in choker 2014-10-24 00:18:01 +00:00
Arvid Norberg a3b18b8a41 fix some of the build errors in examples 2014-10-15 05:07:26 +00:00
Arvid Norberg d8cf0d49e3 optimize piece printing in client_test 2014-10-07 03:09:32 +00:00
Arvid Norberg 9c2472f7bb fix build with deprecated functions disabled 2014-10-05 19:32:29 +00:00
Arvid Norberg ad7d74f255 merged fixes from RC_1_0 2014-09-13 19:47:51 +00:00
Arvid Norberg 12e61fe8ea windows fix for client_test (thanks s. soliti) 2014-08-27 06:00:55 +00:00
Arvid Norberg 1045e385de standard headers should be included regardless of WIN32 2014-08-26 04:16:50 +00:00
Arvid Norberg 862844e546 merged changes from RC_1_0 2014-08-22 07:56:10 +00:00
Arvid Norberg 524384045c transition to use boost.random instead of rand() and custom pseudo random generator 2014-08-16 20:26:00 +00:00
Arvid Norberg fcf2f6234b more missing include fixes 2014-08-16 17:33:25 +00:00
Arvid Norberg 3f88389f05 merged changes from RC_1_0 2014-08-16 07:46:06 +00:00
Arvid Norberg 8833f27a46 fix deprecated-functions=off build 2014-08-16 06:51:48 +00:00
Arvid Norberg f32f5e96aa deprecate parts of cache_status and move those counters to session_stats counters. make the performance counters thread safe. fix some issues recently introduced to performance counters and the usage of them in client_test 2014-08-01 06:07:48 +00:00
Arvid Norberg 24b9101075 merged changes from RC_1_0 2014-07-12 06:20:16 +00:00
Arvid Norberg ef3874b2b1 merged improvement to connection_tester from RC_1_0 to trunk 2014-07-10 22:23:26 +00:00
Arvid Norberg 622981d2cd client_test fixes 2014-07-10 08:32:32 +00:00
Arvid Norberg f74180a61d fixes to client_test 2014-07-10 01:34:39 +00:00
Arvid Norberg ef2b52f06b added missing files 2014-07-09 21:25:02 +00:00
Arvid Norberg 8fc07e6e89 more work towards making client_test event-driven and use session stats counters instead of session_status + some refactoring 2014-07-08 22:37:13 +00:00
Arvid Norberg a63370f650 overhauled client_test. refactored and simplified. still in progress 2014-07-08 15:35:14 +00:00
Arvid Norberg 7351389ce8 land libtorrent_aio branch in trunk 2014-07-06 19:18:00 +00:00
Arvid Norberg 6ef1b98717 merged compiler warning fixes from RC_1_0 2014-07-05 14:10:25 +00:00
Arvid Norberg 35141733fb remove some old unmaintained example code. make examples depend less on libtorrent internals 2014-05-10 20:20:57 +00:00
Arvid Norberg 4b9f4c7690 merged console output fix for client_test from RC_0_16 2014-05-08 16:43:24 +00:00
Arvid Norberg 0398dfe498 merged storage allocation mode fix from RC_0_16 2014-02-07 08:58:52 +00:00
Arvid Norberg 11038aeecb attempt to speed up client_test's loading of torrents 2014-01-19 04:11:49 +00:00
Arvid Norberg 926cb44953 fix client_test 2014-01-03 05:02:39 +00:00
Arvid Norberg 444223c2e3 merged fixes from RC_0_16 2013-12-23 01:40:05 +00:00
Arvid Norberg 41573e084c fix terminal window size issue in client_test under lldb. make client_test respond to keyboard input quicker 2013-12-05 07:43:54 +00:00
Arvid Norberg 54d5222347 deprecate announce_entry::will_announce 2013-11-28 08:44:31 +00:00
Arvid Norberg 58b4d85445 fix client_test build 2013-11-02 09:14:39 +00:00
Arvid Norberg 514f8797ad improve error handling in connection_tester 2013-10-30 02:37:13 +00:00
Arvid Norberg cbe3a72a6e merged i2p fix from RC_0_16 2013-10-27 19:56:37 +00:00
Arvid Norberg 01c42720e1 fix some deprecation issues (use interfa) 2013-10-14 02:25:21 +00:00
Arvid Norberg 89c3db477d merge build fix with C++11 from RC_0_16 2013-09-25 19:44:29 +00:00
Arvid Norberg 00cbb91601 make dump_torrent build without deprecated functions 2013-09-15 12:18:27 +00:00
Arvid Norberg aace9e68e9 add script that runs a cpu benchmark of downloading 2013-09-10 05:48:38 +00:00
Arvid Norberg 39264c5ad3 introduce new, optional, get_peers mechanism that is more privacy preserving (doesn't leak the info-hash to as many DHT nodes) 2013-09-09 07:08:02 +00:00
Arvid Norberg 6bd07fd65f pull in an ed25519 implementation and replace use of RSA in the DHT with ECC. fix up makefiles 2013-08-18 16:01:20 +00:00
Arvid Norberg 8833afdf84 moved parse_request_log into tools directory 2013-07-20 01:03:56 +00:00
Arvid Norberg bbe62564ad low level network primitives should not be exported. Moved enum_if into tests (since it uses internal functions) 2013-07-20 01:02:15 +00:00
Arvid Norberg 6e28e33b32 documentation polish + todo comments in client_test.cpp 2013-07-20 00:38:29 +00:00
Arvid Norberg 3e9f456f73 fix typo 2013-07-19 23:16:57 +00:00
Arvid Norberg 24ea524731 is_hex should not be exported 2013-07-19 22:47:17 +00:00
Arvid Norberg b7816ff281 print_entry should not be exported 2013-07-19 22:26:07 +00:00
Arvid Norberg facbf9c178 don't expose load_file as a public function 2013-07-19 21:41:33 +00:00
Arvid Norberg a2f9337b69 fix client_test 2013-07-17 20:38:25 +00:00
Arvid Norberg 50ecb07d19 merged silencing of warnings from RC_0_16 2013-06-14 16:41:47 +00:00
Arvid Norberg 9c3f3b8455 merged error message fix from RC_0_16 2013-06-08 20:14:26 +00:00
Arvid Norberg b5cf2e8439 generalize command line parsing of connection_tester and add feature to serve corrupt pieces every now and then 2013-04-13 21:16:04 +00:00
Arvid Norberg 6e0ae9e959 improve connection tester a bit, to deal with being unchoked 2013-04-12 23:18:49 +00:00
Arvid Norberg 0682272661 make libtorrent and examples build with deprecated functions disabled (with some slight performance improvements). use hex encoding instead of base32 in create_magnet_uri 2013-03-04 03:24:53 +00:00
Arvid Norberg 5033960045 merged fix from RC_0_16 2013-02-28 04:31:55 +00:00
Arvid Norberg 314d249c3c merged fix from RC_0_16 2013-01-22 17:00:00 +00:00
Arvid Norberg b3ef6011aa merged merkle torrent creation fix from RC_0_16 2013-01-21 07:33:48 +00:00
Arvid Norberg c384bd6561 merged client_test fix from RC_0_16 2012-12-16 19:07:00 +00:00
Arvid Norberg b69014f3cd extend connection_tester to allow building test torrents with any number of files 2012-11-21 05:07:47 +00:00
Arvid Norberg d081842a31 merged client_test change from libtorrent_aio 2012-10-07 20:08:47 +00:00
Arvid Norberg 84ccb31a6d merged client_test from libtorrent_aio 2012-10-06 14:04:24 +00:00
Arvid Norberg 90edd1dd80 merged make_torrent update from RC_0_16 2012-10-03 01:55:08 +00:00
Arvid Norberg b3fda9a756 merged make_torrent fixes from RC_0_16 2012-10-02 20:43:01 +00:00
Arvid Norberg 5bc322c031 merged get_torrent_info deprecation from libtorrent_aio, replaced by torrent_file() 2012-10-02 16:07:55 +00:00
Arvid Norberg 852502ef2c merged fix from RC_0_16 2012-09-24 03:55:42 +00:00
Arvid Norberg 726950f936 merged client_test fix from libtorrent_aio 2012-09-23 02:16:03 +00:00
Arvid Norberg e4727df459 merged client_test help screen from libtorrent_aio 2012-09-23 01:57:31 +00:00
Arvid Norberg fde9b653e8 merge magnet link feature in client_test from libtorrent_aio 2012-09-23 01:52:46 +00:00
Arvid Norberg 6cd2958fa4 merged build fix from RC_0_16 2012-08-23 23:09:48 +00:00
Arvid Norberg 532e514c00 improve torrent file creator optimizer a bit 2012-08-12 21:18:38 +00:00
Arvid Norberg fa1c071c2f merged fixes from RC_0_16 2012-06-09 04:48:53 +00:00
Arvid Norberg f49bc42cae added missing license headers 2012-06-04 06:30:45 +00:00
Arvid Norberg dbfcab5c28 fix warnings 2012-05-03 06:04:59 +00:00
Arvid Norberg 7094b02f06 delete a redundant line 2012-05-02 20:06:19 +00:00
Arvid Norberg cafbf2ca1d more work on minimizing shared object export symbol table 2012-03-20 03:53:07 +00:00
Arvid Norberg a2521bd23c fix a bunch of issues to properly support dynamic linking of libtorrent with visibility=hidden. Still requires a small patch to boost 2012-03-18 23:31:04 +00:00
Arvid Norberg 250f1645b3 fix windows directory separator issue on windows with UNC paths 2012-03-13 04:50:12 +00:00
Arvid Norberg 3442534085 fixed no-deprecate build 2012-03-09 06:34:23 +00:00
Arvid Norberg f221b3d931 export session_settings_map and fix rss issue in client_test 2012-02-24 16:11:31 +00:00
Arvid Norberg 50b299b89b save torrents on metadata_received_alert in client_test 2012-02-21 05:56:22 +00:00
Arvid Norberg d24a2e30fc rss feed fixes 2012-02-20 23:44:34 +00:00
Arvid Norberg 079a8f8314 ignore failures when asking for local address of sockets and parsing a string into an IP address 2012-02-20 04:13:39 +00:00
Arvid Norberg 3276167b85 file access log is not implemented in trunk. No point in trying to use it in that version of run_benchmarks.py 2012-02-19 09:37:35 +00:00
Arvid Norberg cd72238c25 fix update issue in client_test 2012-02-11 22:04:22 +00:00
Arvid Norberg 8b459a27bd remove 'encrypted peer connections' feature (ssl is a better idea) 2012-02-09 06:23:58 +00:00
Arvid Norberg cdd99857b9 fix overflow issue in connection_tester 2012-01-31 05:59:01 +00:00
Arvid Norberg 48e7b35a93 initialize counters in client_test.cpp 2012-01-20 04:51:08 +00:00
Arvid Norberg b5f456f839 fixed documentation typo in client_test 2012-01-18 03:37:17 +00:00
Arvid Norberg 74b745e876 back port torrent sorting fix into trunk 2012-01-17 02:27:20 +00:00
Arvid Norberg ae90a8f85e verify that torrent names matches the DNS name in its certificate (RFC 2818-style). Fix issues that was breaking SSL support and tidy up a bit 2012-01-15 23:34:43 +00:00
Arvid Norberg 4a40e68a82 landed ssl branch back into trunk 2012-01-14 16:04:25 +00:00
Arvid Norberg 2af0ab6e2f option to force encrypted connections in client_test 2012-01-11 08:48:49 +00:00
Arvid Norberg c5fb865071 add tool to analyze request logs 2012-01-02 19:32:15 +00:00
Arvid Norberg 67d6f5aeb4 fix post_torrent_update patch in client_test 2011-12-24 04:30:27 +00:00
Arvid Norberg d7103ab5b0 updated client_test to use post_torrent_updates() 2011-12-23 05:36:13 +00:00
Arvid Norberg 78f16cedd9 deprecate torrent::set_ratio 2011-12-18 07:18:42 +00:00
Arvid Norberg 3f572d43ef support force started in client_test 2011-12-11 03:32:53 +00:00
Arvid Norberg 8e1ec673af generate more complicated test torrents and verify data downloaded in download tests 2011-11-27 22:39:25 +00:00
Arvid Norberg 72dd233d99 back-ported connection tester to trunk 2011-11-27 21:15:33 +00:00
Arvid Norberg 981e6472b2 support udp trackers in tracker-less command line to client_test 2011-11-13 23:49:56 +00:00
Arvid Norberg 4a5769857b fix crash in connection_tester 2011-11-09 06:03:24 +00:00
Arvid Norberg 2330520c51 change the add_torrent_params API to use flags instead of a bunch of bools (but leave it backwards compatible) 2011-11-08 05:36:22 +00:00
Arvid Norberg 92661b2a71 fix iterator issue in client_test 2011-11-01 21:08:21 +00:00
Arvid Norberg b80aa035a2 removed debugging code 2011-10-24 04:47:51 +00:00
Arvid Norberg 9afd09d797 optimize sending buffers on peer sockets by corking and uncorking 2011-10-24 04:22:53 +00:00
Arvid Norberg 01405f32ee added async_add_torrent for increased performance when adding many torrents (no documentation yet though) 2011-10-12 10:27:17 +00:00
Arvid Norberg 268ea59876 fix some bugs in connection_tester and add feature to create dummy test torrents 2011-10-12 06:50:26 +00:00
Arvid Norberg 469414d486 initial BitTorrent over SSL support 2011-09-12 03:51:49 +00:00
Arvid Norberg 92bcb9ebfd feature to encrypt peer connections with a secret AES-256 key stored in .torrent file 2011-09-05 05:50:41 +00:00
Arvid Norberg a286a6b4aa initial attempt at verifying the certificate of ssl trackers, by including the certificate in the .torrent file 2011-08-28 21:06:15 +00:00
Arvid Norberg 51ed06304e deprecated compact storage allocation 2011-08-22 00:51:14 +00:00
Arvid Norberg fdd214f20a back-ported connection tester from aio-branch 2011-08-10 07:36:59 +00:00
Arvid Norberg f6554bad08 back ported feature to expose which pieces have been verified in seed_mode and exposes it in client_test (initially implemented in the libtorrent_aio branch) 2011-08-07 07:19:18 +00:00
Arvid Norberg 9564636fd2 expose seed_mode feature to client_test 2011-08-07 06:34:27 +00:00
Arvid Norberg 4f7c9e2be2 fix state rendering in client_test for checking and queued-for-checking torrents 2011-08-06 20:45:21 +00:00
Arvid Norberg 8f45fea7db print paused state for checking and queued-for-checking torrents in client_test 2011-08-06 17:43:22 +00:00
Arvid Norberg 42a220f9b8 fixed bug in make torrents when saving merkle tree 2011-08-03 08:31:10 +00:00
Arvid Norberg a3a687e833 fix connection tester torrent creation 2011-08-01 00:03:43 +00:00
Arvid Norberg 7817229f5d improve support for merkle tree torrent creation 2011-07-30 17:35:22 +00:00
Arvid Norberg a5f638d8f0 improve connection tester to support non-fast-extension clients and to be multi-threaded 2011-07-24 09:29:26 +00:00
Arvid Norberg addbed9674 make connection_tester bind local sockets to different loopback IPs 2011-07-23 21:09:10 +00:00
Arvid Norberg 1b353ce5af fix beos build 2011-07-20 05:14:25 +00:00
Arvid Norberg 9baa134343 handle invalid handles when removing torrents 2011-07-14 03:45:24 +00:00
Arvid Norberg 1ed32d2758 make connection tester able to create variable sized torrents for more diverse testing. add option to client_test test to turn off disk storage 2011-07-10 20:17:32 +00:00
Arvid Norberg a609624d14 fixed typo 2011-07-10 09:07:40 +00:00
Arvid Norberg 8e20d9d867 sort pieces by expiration time in client_test 2011-07-10 08:57:27 +00:00
Arvid Norberg d0d6d535ce copy run_benchmarks from aio branch 2011-07-04 16:57:47 +00:00
Arvid Norberg 444d584446 fix resume saving issue in client_test. it would sometimes quit without first handling some remaining resume data alerts 2011-07-04 05:33:06 +00:00
Arvid Norberg 0093229d27 merge diff from aio branch to show partially bdecoded files with dump_torrent 2011-06-25 17:42:49 +00:00
Arvid Norberg de799e1100 fix issue in session_impl::remove_torrent which would cause it to throw 2011-06-21 02:02:58 +00:00
Arvid Norberg 57f24128a9 add more default reporting about the request and download queue of peers to track end-game stall issue 2011-06-06 04:24:12 +00:00
Arvid Norberg b8614a36b3 fix resume state for paused when torrent was in graceful pause mode 2011-06-05 20:48:00 +00:00
Arvid Norberg 187361cc20 one more client_test pipe fix 2011-06-03 08:25:34 +00:00
Arvid Norberg bfe5dc798c support piping the output of client_test to a file or other process 2011-06-03 05:46:11 +00:00
Arvid Norberg d9e28365db client_test polishing 2011-06-02 05:44:46 +00:00
Arvid Norberg ddd9dd4b09 update benchmark script 2011-05-16 06:07:44 +00:00
Arvid Norberg e2f1bcaf21 calculate distributed copies for the selected torrent in client_test 2011-05-14 21:00:45 +00:00
Arvid Norberg 923fb1eac5 re-enable running fragmentation test when benchmarking 2011-05-05 04:02:54 +00:00
Arvid Norberg f0c2c8164d fixes to benchmarks script. comment out fragmentation test since it takes too long 2011-05-02 05:34:08 +00:00
Arvid Norberg 0255cbc839 add some more options to client_test, useful when running benchmarks 2011-05-02 05:32:54 +00:00
Arvid Norberg 434a84bdc2 fix comment 2011-05-02 05:31:51 +00:00
Arvid Norberg ddb70f3f68 make fragmentation_test work with incomplete files as well 2011-05-02 00:30:16 +00:00
Arvid Norberg d9fb877d48 add initial disk I/O benchmark script 2011-05-01 23:43:59 +00:00
Arvid Norberg 35a9c60e54 fix gnuplot syntax error in fragmentation test 2011-05-01 22:51:42 +00:00
Arvid Norberg 462072a7de add more options to client_test that are useful for benchmarking 2011-04-27 08:07:24 +00:00
Arvid Norberg d5824d1c7f make connection_tester report progress when generating torrent 2011-04-27 08:04:58 +00:00
Arvid Norberg 8bc35279d3 add rate measurements to connection_tester 2011-04-27 04:33:03 +00:00
Arvid Norberg 72eb840b66 document hint_read 2011-04-26 23:54:25 +00:00
Arvid Norberg e389f5963d added support for fadvise/F_RDADVISE for improved disk read performance 2011-04-26 07:03:05 +00:00
Arvid Norberg 7bd0573927 improve connection tester to support upload and download mode 2011-04-22 07:38:46 +00:00
Arvid Norberg 244303ea6b extend connection test to support uploading as well 2011-04-22 01:12:28 +00:00
Arvid Norberg abec8aed8c use 'avoid_readback' as default disk cache eviction algorithm 2011-04-11 03:36:37 +00:00
Arvid Norberg 0c28a3e3ca fixed bug in session::delete_files option to remove_torrent 2011-04-10 20:35:45 +00:00
Arvid Norberg dda84c9247 fix magnet link issue in client_test 2011-04-02 07:39:02 +00:00
Arvid Norberg 91327f71da support getch() returning EOF in client_test 2011-03-31 03:19:05 +00:00
Arvid Norberg 2ebe46024b handle terminal EOF in client_test 2011-03-26 20:53:00 +00:00
Arvid Norberg e9459b4df8 rss fixes 2011-03-23 02:46:22 +00:00
Arvid Norberg 54dd2a06f5 add rss support to client_test 2011-03-21 04:59:45 +00:00
Arvid Norberg e4df633157 added another disk cache flush algorithm to minimize readback when hashing pieces 2011-03-20 05:47:27 +00:00
Arvid Norberg 9fafd2f3e6 fix formatting issue in client_test.cpp 2011-03-17 04:58:10 +00:00
Arvid Norberg 4c45d84160 specify seed and download torrent limits separately 2011-03-16 04:46:14 +00:00
Arvid Norberg 27c1bc632d introduced pop_alerts() which pops the entire alert queue in a single call 2011-03-14 02:59:46 +00:00
Arvid Norberg 5431d86779 no need to close and re-open the listen socket when starting the DHT. Report the actual port we ended up listening on if the system chose one. don't try to listen on i2p 2011-03-07 07:02:30 +00:00
Arvid Norberg 7288f77ec9 support saving metadata in resume file, enable it by default for magnet links 2011-02-26 07:48:05 +00:00
Arvid Norberg 56937edf56 cleaned up some exception handling and introduced macros like BOOST_TRY/BOOST_CATCH to make the optional exception handling nicer 2011-02-25 17:00:36 +00:00
Arvid Norberg ca106ca4e0 some warning fixes and cleanup 2011-02-24 04:25:35 +00:00
Arvid Norberg 141ada013f fixed a whole bunch of build warnings on gcc and msvc, along with some fixes discovered along the way 2011-02-21 05:24:41 +00:00
Arvid Norberg 3cf551ef80 close log file on exit in client_test 2011-02-20 22:49:55 +00:00
Arvid Norberg a86ad2f7b9 fix integer overflow issue in cache size print out 2011-02-16 06:15:17 +00:00
Arvid Norberg b6b0970e16 use getifaddrs on linux to enumerate interfaces 2011-02-15 06:29:44 +00:00
Arvid Norberg 8bb71da401 disk write queue watermark fix 2011-02-13 22:27:02 +00:00
Arvid Norberg b39c831115 fixed typo 2011-02-09 04:59:43 +00:00
Arvid Norberg 30d04f31fd client_test fixes 2011-02-09 04:54:22 +00:00
Arvid Norberg 90ad9ba7d9 save resume data for paused torrents if they need to 2011-02-02 06:40:29 +00:00
Arvid Norberg b4ccc228bc show number of torrents in each category in the top filter in client_test 2011-02-02 03:38:02 +00:00
Arvid Norberg b842815710 added new session functions to more efficiently query torrent status 2011-02-01 09:48:28 +00:00
Arvid Norberg 1a72520f60 create directory for resume files 2011-01-31 03:13:22 +00:00
Arvid Norberg d393bb4097 report number of peers blocked on disk in session_status 2011-01-30 10:04:15 +00:00
Arvid Norberg 1baf40596a put resume data in a subfolder in client_test 2011-01-29 20:45:13 +00:00
Arvid Norberg da676936d3 don't abort shutting down cleanly. don't print out all alerts while shutting down 2011-01-24 00:11:13 +00:00
Arvid Norberg c78ba11c97 add client_test option to set active torrent limit 2011-01-20 05:49:36 +00:00
Arvid Norberg 6663f527da fixed error handling in torrent_info constructor 2011-01-19 10:07:51 +00:00
Arvid Norberg 4693e2c94b linux build fix 2011-01-19 07:40:45 +00:00
Arvid Norberg c223291fb4 added support for RSS feeds 2011-01-18 03:41:54 +00:00
Arvid Norberg 26053e4b76 support adding torrents by url to a .torrent file 2010-12-30 01:47:30 +00:00
Arvid Norberg ae41b2598b fix non-dht build 2010-12-29 02:17:44 +00:00
Arvid Norberg 8be38c41d7 fix use of uninitialized variable in client_test 2010-12-24 01:54:20 +00:00
Arvid Norberg 20d4279177 optimized piece picking to not cause busy loops in some end-game modes 2010-12-18 10:19:34 +00:00
Arvid Norberg 4b96c79e93 prettify DHT stats output in client_test 2010-12-12 03:28:06 +00:00
Arvid Norberg b56a1638ae DHT fixes. fixed bucket refresh issue. re-introduced refreshing our own bucket regularly. added more DHT instrumentation in session_status. added alert for when bootstrap is complete. Fixed bootstrap to ping remaining nodes when search is complete. Completed recent DHT observer rewrite to remove some redundant fields 2010-12-12 03:17:08 +00:00
Arvid Norberg 67d1c57b5e bumped some limits in dump_torrent 2010-12-11 22:00:20 +00:00
Arvid Norberg e5f980d80d merged uTP branch into trunk (yay) 2010-11-29 01:33:05 +00:00
Arvid Norberg ba5b0638c0 add feature to automatically close client_test after a specified amount of time (for scripting tests) 2010-11-25 23:35:43 +00:00
Arvid Norberg 8ff9b6338b some fixes 2010-11-25 10:46:52 +00:00
Arvid Norberg faccbd8ae3 introduce safety limit on total number of items in bencoded trees in lazy_bdecode. Document lazy_bdecode and its error codes. Make dump_torrent able to change the decoding limits 2010-11-25 02:49:50 +00:00
Arvid Norberg 26a2beee5e temporary commented out code 2010-11-24 23:52:10 +00:00
Arvid Norberg 894db973e8 optimized memory usage of torrent_info and file_storage 2010-11-24 23:49:22 +00:00
Arvid Norberg 8c404cc5c1 optimized memory usage of torrent_info 2010-11-15 05:10:36 +00:00
Arvid Norberg a2a2ac08a2 move queue_position and need_save_resume into torrent_status. optimized client_test to make fewer synchronous calls and pull more out of torrent_status 2010-11-06 18:04:07 +00:00
Arvid Norberg 173aa6b414 add torrent filters to client_test 2010-11-06 16:57:15 +00:00
Arvid Norberg 1c7e5506e9 report stats on the number of dht request observers that are currently allocated 2010-11-06 07:12:57 +00:00
Arvid Norberg a76570b563 deprecated a bunch of query functions on torrent_handle in favor of using status() to get as much information as possible in fewer calls, and saving time on synchronizing with the main thread 2010-10-30 17:23:30 +00:00
Arvid Norberg e4de1fc8b1 graceful disconnect mode which finishes transactions before disconnecting peers 2010-10-30 08:36:18 +00:00
Arvid Norberg fc1b44b560 improve error reporting of lazy_bdecode to use error_code 2010-10-28 04:01:59 +00:00
Arvid Norberg 21cbd1fac4 deprecated setters for max connections, max half-open, upload and download rates and unchoke slots. These are now set through session_settings 2010-10-09 19:09:38 +00:00
Arvid Norberg 9239eed31e stop natpmp in test 2010-10-01 04:41:39 +00:00
Arvid Norberg cd08a61f35 expose the full peer list size through session_status 2010-10-01 04:07:38 +00:00
Arvid Norberg a6cb426256 update to upnp test 2010-09-30 08:53:16 +00:00
Arvid Norberg c17c1605d7 added upnp/nat-pmp test/diagnostics program 2010-09-30 07:13:19 +00:00
Arvid Norberg b6f92aa981 added initial support for share-mode 2010-09-05 16:01:36 +00:00
Arvid Norberg e2ca3e1545 rate limiter fix 2010-08-27 14:52:42 +00:00
Arvid Norberg d68719376f use set_proxy in client_test 2010-08-26 15:13:17 +00:00
Arvid Norberg b7b542f587 optimized file_pool lookups and string handling 2010-08-23 08:48:02 +00:00
Arvid Norberg e7561e5274 add a flag to client_test to turn off upnp and nat-pmp 2010-08-03 07:30:38 +00:00
Arvid Norberg ef48c92a4e fixed SOCKS5 bug for routing UDP packets 2010-07-25 01:31:15 +00:00
Arvid Norberg 67110ec0a3 vs2010 build fixes 2010-07-22 16:49:40 +00:00
Arvid Norberg 9baa280b52 added asserts to catch broken peer allocations and frees as well as disk buffer corruption 2010-07-18 19:28:22 +00:00
Arvid Norberg 1e70456f58 improved support for multi-homed clients 2010-07-17 07:13:14 +00:00
Arvid Norberg aa25ed00c6 fix force-reannounce and tracker retry issue 2010-07-15 05:16:06 +00:00
Arvid Norberg e4ea683c1a fix fragmentation test build 2010-07-15 02:08:12 +00:00
Arvid Norberg 92593abf89 added support for SOCKS5 proxies in client_test and fixed an assert when using proxies 2010-07-03 06:56:09 +00:00
Arvid Norberg 9ddf7f7cfa add back support for ip filter files to client_test. add some logging when tracker IPs are filtered 2010-06-06 02:31:20 +00:00
Arvid Norberg 83dbc1d9f1 fixed torrent load and applying settings order issue in client test 2010-06-05 21:03:01 +00:00
Arvid Norberg 37d9c8d329 fixed terminal width underflow bug in client_test 2010-05-31 23:20:00 +00:00
Arvid Norberg 90ac0dbbcc print fail limit on trackers in client_test 2010-05-04 16:49:26 +00:00
Arvid Norberg 5d8feafc11 add flag to client_test to turn off DHT 2010-05-03 05:51:01 +00:00
Arvid Norberg 2705859bb4 fixed bug where trackers wouldn't be retried if they failed 2010-04-27 18:22:59 +00:00
Arvid Norberg 4ca8339337 update client_test to use need_save_resume_data 2010-04-15 02:58:30 +00:00
Arvid Norberg eeda665d06 report tracker errors in the tracker list 2010-04-13 04:37:39 +00:00
Arvid Norberg 6851254fdf fixed FIEMAP support on linux 2010-04-11 00:48:48 +00:00
Arvid Norberg c51e0a2a86 fixed inconsistency when creating torrents with symlinks 2010-04-01 00:44:29 +00:00
Arvid Norberg 9977480f02 fixed bug in url encoder and in client test 2010-03-29 00:31:30 +00:00
Arvid Norberg b4abe6677d support for sha1 file-hashes 2010-03-27 15:51:30 +00:00
Arvid Norberg 730f81ebe9 never write binary data to stdout on windows 2010-03-25 00:50:23 +00:00
Arvid Norberg 786172455b added save resume action to client_test. potential small optimization in resume data save function 2010-03-20 22:00:13 +00:00
Arvid Norberg 281b6368f7 deprecate old state saving functions, merge dht state with session state 2010-03-04 16:42:39 +00:00
Arvid Norberg 78363cc05d local service discovery fixes 2010-02-13 16:29:17 +00:00
Arvid Norberg fb47469834 experimental support for the BitTyrant choking algorithm 2010-02-09 03:04:41 +00:00
Arvid Norberg e3e177650c added more options to client_test 2010-01-31 21:30:43 +00:00
Arvid Norberg 238f7e38f5 improve disk stats logging to include cache hits 2010-01-31 21:13:52 +00:00
Arvid Norberg 5b747f58f7 add guided read cache and update tuning docs 2010-01-31 19:14:00 +00:00
Arvid Norberg ca8b308f5b make connection_tester run in a single thread 2010-01-30 01:33:34 +00:00
Arvid Norberg 3174f050f9 add connection tester 2010-01-29 06:13:02 +00:00
Arvid Norberg 75a66a1f80 disable certain logging in client_test 2010-01-18 22:14:35 +00:00
Arvid Norberg fb7aa7c1f2 support allocating storage in client_test 2010-01-18 05:29:35 +00:00
Arvid Norberg 0ab8dba84b improve client_test rendering for checking and queued for checking torrents 2010-01-17 21:10:28 +00:00
Arvid Norberg 7a5da3815b added test to render file fragmentation 2010-01-17 01:38:33 +00:00
Arvid Norberg cfba431843 added connection_tester 2010-01-12 02:57:25 +00:00
Arvid Norberg a1299c3a10 optimize disk I/O elevator algorithm to spend less time picking job 2010-01-12 01:56:48 +00:00
Arvid Norberg 08444d0c2f reverted accidental check-in 2010-01-05 13:00:04 +00:00
Arvid Norberg 96cedc9b5f more beos fixes 2009-12-15 13:11:07 +00:00
Arvid Norberg 9f733a7eac replaced iostream in dump_torrent example 2009-12-09 07:10:49 +00:00
Arvid Norberg e5e1bca254 replaced iostream in example 2009-12-09 06:20:30 +00:00
Arvid Norberg 1a60150e61 added option to client_test to announce to all tiers 2009-12-05 17:12:30 +00:00
Arvid Norberg 972858ffce fixed client_test build 2009-12-05 16:55:25 +00:00
Arvid Norberg 5b039a8982 error handling in make_torrent 2009-11-30 00:40:36 +00:00
Arvid Norberg af8234b035 fix include in client_test 2009-11-28 02:43:05 +00:00
Arvid Norberg 8dd244581d header optimizations 2009-11-26 05:45:43 +00:00
Arvid Norberg d6d577627b removed some unnecessary includes 2009-11-22 21:08:44 +00:00
Arvid Norberg 66882b149c client_test fix to start upnp, natpmp, lsd and dht 2009-11-14 18:55:27 +00:00
Arvid Norberg fc3e8c28be removed stringstream from client_test 2009-11-08 06:39:43 +00:00
Arvid Norberg e89dc60694 client_test fixes 2009-11-02 20:50:54 +00:00
Arvid Norberg 93edeee522 reverted unintentional change 2009-11-02 03:50:26 +00:00
Arvid Norberg 4e8fc9d43a client_test fixes 2009-11-02 03:49:16 +00:00
Arvid Norberg fade413665 introduced alert_cast 2009-11-02 03:34:16 +00:00
Arvid Norberg 1c377b1807 streaming fixes 2009-11-02 01:01:07 +00:00
Arvid Norberg 70a83220ab removed accidental check-in 2009-10-28 02:42:55 +00:00
Arvid Norberg 6c9e5cb011 fixed file checking bug when renaming a file before checking the torrent 2009-10-28 02:24:59 +00:00
Arvid Norberg c418165e07 replaced boost.filesystem with custom functions (improves efficiency and drops unnecessary dependencies and improves libtorrent portability) 2009-10-26 01:29:39 +00:00
Arvid Norberg 9d1989904b some compatibility fixes. 2009-10-20 16:44:11 +00:00
Arvid Norberg 474566fa21 more DHT fixes and simplifications 2009-10-09 02:34:25 +00:00
Arvid Norberg cee42ff5a1 more DHT simplifications 2009-10-07 20:51:02 +00:00
Arvid Norberg dfccf0b412 some DHT work 2009-09-29 17:06:08 +00:00
cristiangreco 2fd925a4ae Rewrite autotools build system (new configure.ac, changes for various
Makefile.am and fixed m4 scripts). Could still need some fixes.
2009-09-10 02:22:13 +00:00
Arvid Norberg 209b135956 msvc format string fixes 2009-09-06 16:47:48 +00:00
Arvid Norberg 1f5a722b01 improved sun studio support (it seems to lack a lot of stl) 2009-08-30 07:38:52 +00:00
Arvid Norberg f764227012 build fix for when DHT is disabled 2009-08-30 06:25:17 +00:00
cg25 f283065cfc completely drop BOOST_MULTI_INDEX_DISABLE_SERIALIZATION define from all build
systems as multi_index is no more used in src/file_pool.cpp.
2009-08-21 20:19:55 +00:00
Arvid Norberg 45fd696bc6 added I2P support 2009-08-20 03:19:12 +00:00
Arvid Norberg 541ffc842e fixed bug in dump_torrent when the last file was 0-sized 2009-08-05 02:34:44 +00:00
Arvid Norberg 70a6c7d02b reverted unintentional change 2009-07-26 20:23:37 +00:00
Arvid Norberg c43229f89c reverted unintentional change 2009-07-26 01:15:01 +00:00
Arvid Norberg 137d2d63f5 cleaned up policy. Moved logic from policy to torrent 2009-07-23 04:38:52 +00:00
Arvid Norberg a3b6351b3b fix to client_test to use new progress_ppm 2009-07-19 09:14:00 +00:00
Arvid Norberg ae3be201c4 reduced the number of floating point operations to better support systems with no FPU 2009-07-19 04:59:27 +00:00
Arvid Norberg ece98a8ef6 * added support for storing symbolic links in .torrent files 2009-07-01 08:35:45 +00:00
Arvid Norberg 8ee50045ca added support for uTorrent interpretation of multi-tracker torrents (off by default) 2009-06-28 20:21:55 +00:00
Arvid Norberg 9d76d0481e fixes tp typos in alert_types.hpp and windows fixes 2009-05-29 01:27:08 +00:00
Arvid Norberg 3eba18dcd5 formatting fix 2009-05-23 07:47:20 +00:00
Arvid Norberg c1d9198dc3 added largest_contiguous cache flush algorithm 2009-05-23 07:35:45 +00:00
Arvid Norberg 77ee976f3c fixed some client_test formatting 2009-05-22 03:40:06 +00:00
Arvid Norberg 5bce212126 fixed incoming peer source flag and exposed it in client_test 2009-05-15 23:22:11 +00:00
Arvid Norberg 2ebb82d905 client test formatting fixes 2009-05-15 16:21:36 +00:00
Arvid Norberg 53f890608d use C99 string formatting macros for platform independence 2009-05-15 15:52:15 +00:00
Arvid Norberg 084421ab4b transitioned more of client test over to snprintf instead of iostreams 2009-05-14 19:49:33 +00:00
Arvid Norberg 7fb7ebfa10 added option to set the screen refresh rate of client_test 2009-05-13 16:02:43 +00:00
Arvid Norberg d53fa12cd3 revert client_test 2009-05-13 01:34:37 +00:00
Arvid Norberg b7c5d2f12d add a separate setting for max peer list size for paused torrents 2009-05-13 01:34:10 +00:00
Arvid Norberg 8e3bd5154a removed iostream and boost-regex dependency in client_test 2009-05-13 01:02:06 +00:00
Arvid Norberg f2ec6b5adb added option to use a single block buffer when hashing, instead of for the entire piece 2009-05-03 19:09:06 +00:00
Arvid Norberg d73c97e444 made get_download_queue() use considerably less memory and scale with larger piece_sizes 2009-05-03 09:45:07 +00:00
Arvid Norberg e4ddb13b6f made the cache_size setting include send and receive buffers 2009-05-02 06:52:57 +00:00
Arvid Norberg 7109b86566 greatly simplified the rate limiter and generalized all rate limits (peer, torrent, global) to allow for arbitrary rate limit configurations 2009-04-26 00:21:59 +00:00
Arvid Norberg 981ae208d1 exception fixes 2009-04-07 15:06:07 +00:00
Arvid Norberg db8487be46 auto unchoke improvement 2009-04-04 07:55:34 +00:00
Arvid Norberg c683126ea3 fixed missing include in enum_if (thanks Marek Stopka) 2009-03-20 07:28:30 +00:00
Arvid Norberg 31054ef069 first implementation of set_piece_deadline 2009-03-17 09:34:44 +00:00
Arvid Norberg 84a513bffb initial support for merkle hash tree torrents 2009-03-13 06:09:39 +00:00
Arvid Norberg c4e19e2ee7 client_test fix 2009-02-28 07:02:30 +00:00
Arvid Norberg 7aacfca292 made the examples build without exception support. added overloads of add_torrent() and add_magnet_uri() that don't throw 2009-02-26 07:09:56 +00:00
Arvid Norberg 7fff6ace1b added download queue time estimate 2009-02-17 02:33:45 +00:00