Commit Graph

43 Commits

Author SHA1 Message Date
Arvid Norberg
b6083fbc28 first steps towards supporting SSL over uTP. moved the TODO comment and made it describe the next step. Optimized session destruction in unit tests, hopefully shaving off a bit of test run-time (and now supports asio-debugging of unit tests) 2013-08-31 20:19:03 +00:00
Arvid Norberg
208321dab0 improve test logging 2013-06-20 05:28:42 +00:00
Arvid Norberg
f91d83434b don't print color output from tests (to make it work with some of the regression testing tools) 2013-06-14 16:38:26 +00:00
Arvid Norberg
26805c944c converted use of deprecated functions in the tests 2012-03-19 04:02:13 +00:00
Arvid Norberg
af09935b87 some windows path fixes 2012-03-17 19:06:11 +00:00
Arvid Norberg
ad2f4d1697 print less in test_swarm.cpp 2011-04-10 00:41:16 +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
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
96cedc9b5f more beos fixes 2009-12-15 13:11:07 +00:00
Arvid Norberg
c32b40c739 fixed test_swarm build 2009-12-05 23:08:16 +00:00
Arvid Norberg
8dd244581d header optimizations 2009-11-26 05:45:43 +00:00
Arvid Norberg
1c28444f94 fixed residual references to boost/thread. Removed memdebug (it doesn't work and tcmalloc is better) 2009-11-02 02:00:41 +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
f06fa3fbe8 fixed test_swarm with the new timer 2009-06-10 06:30:06 +00:00
Arvid Norberg
e3c07c0934 converted some recursive mutexes to regular ones 2009-05-23 21:36:09 +00:00
Arvid Norberg
cb9c3cb37d memory optimization for checking torrents 2009-05-21 16:15:05 +00:00
Arvid Norberg
31054ef069 first implementation of set_piece_deadline 2009-03-17 09:34:44 +00:00
Arvid Norberg
1ac8f806fa added seed mode support (lazy hash checking) 2009-02-03 07:46:24 +00:00
Arvid Norberg
16bfde875d tests don't need the default session features turned on 2008-12-20 23:06:06 +00:00
Arvid Norberg
5fb854d724 improved super seeding with strict option 2008-12-09 07:56:37 +00:00
Arvid Norberg
b41cdd6469 initial super seeding support 2008-12-08 06:36:22 +00:00
Arvid Norberg
fd64702f31 add some slack to make tests more likely to pass 2008-10-21 08:16:14 +00:00
Arvid Norberg
de907e17ff enables alerts earlier in test_swarm 2008-08-25 21:23:21 +00:00
Arvid Norberg
186561e5ff fixed test_swarm 2008-07-20 21:32:20 +00:00
Arvid Norberg
81a88a774f test_swarm fixes 2008-07-20 17:39:28 +00:00
Arvid Norberg
a7ed5578b6 made the tests build again 2008-07-08 00:00:49 +00:00
Arvid Norberg
af0ebb519c added copyright notices in files missing them 2008-07-01 18:59:13 +00:00
Arvid Norberg
9c94f54868 fixes for torrents with smaller pieces than 16kB 2008-06-18 12:34:39 +00:00
Arvid Norberg
622f81aa18 test_swarm fix 2008-03-16 06:02:50 +00:00
Arvid Norberg
5b4590c6b1 made test swarm more likely to pass 2008-03-16 02:54:56 +00:00
Arvid Norberg
fcd2408f11 fast extension fix, added some logging for fast extension messages, improved test to catch the problem 2008-01-02 03:18:29 +00:00
Arvid Norberg
ce506c63ca improved tests to be able to run in parallel and added pex test 2007-12-30 09:36:01 +00:00
Arvid Norberg
ed8225f4e2 updated test_swarm 2007-11-25 19:01:04 +00:00
Arvid Norberg
c18ae83146 added wait_for_alert() to session. If there is at least one alert in the queue, it returns the front one in the queue, if the queue is empty, it waits until a new alert is posted and returns that one, or returns 0 if the time expires first. 2007-11-25 08:18:57 +00:00
Arvid Norberg
59c7f5bfbb added option to delete files from disk as a torrent is removed 2007-10-13 03:33:33 +00:00
Arvid Norberg
765a815844 more output in test_swarm 2007-09-21 19:10:38 +00:00
Arvid Norberg
3050e35adf disabled lsd for private torrents 2007-07-23 00:38:31 +00:00
Arvid Norberg
c536ac1990 peer_connections stats fix. test_sleep fix. improved test_swarm and test Jamfile 2007-07-06 20:17:36 +00:00
Arvid Norberg
a3e66a3efe made the piece picker handle multi-request blocks better. fixes problem that might occur at the end of a torrent where the piece picker could take over blocks back and forth 2007-07-06 17:15:35 +00:00
Arvid Norberg
07c8d1242e windows unicode fixes when using boost-1.34 and fix for test_swarm when building without encryption support 2007-06-11 19:01:25 +00:00
Arvid Norberg
3b8670626a merged back async_io branch into trunk 2007-06-10 20:46:09 +00:00
Arvid Norberg
2419ba83da fixed swarm test 2007-06-09 00:48:12 +00:00
Arvid Norberg
6447a074eb fixes to allow-multiple-connections-per-ip and a unit test that run a swarm of 3 local peers 2007-06-08 23:02:31 +00:00