Commit Graph

642 Commits

Author SHA1 Message Date
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