Arvid Norberg
|
4b0c4165d7
|
fix tests
|
2013-09-03 16:02:24 +00:00 |
Arvid Norberg
|
515cd24a8c
|
if setting socket send or receive buffer size fails, reset it to the previous value
|
2013-09-03 08:39:30 +00:00 |
Arvid Norberg
|
1dc491e7e1
|
fix test_upnp
|
2013-09-03 04:41:49 +00:00 |
Arvid Norberg
|
f2aca363ad
|
another attempt to get tests to link on windows
|
2013-08-27 07:02:46 +00:00 |
Arvid Norberg
|
27adb1fc44
|
improve error reporting from unit tests
|
2013-08-19 04:33:16 +00:00 |
Arvid Norberg
|
1afc0c6740
|
a bunch of fixes to make test_web_seeds a lot faster, and fail slightly fewer tests
|
2013-08-19 03:54:45 +00:00 |
Arvid Norberg
|
023116db6f
|
merge ssl test fix from RC_0_16
|
2013-08-17 22:29:34 +00:00 |
Arvid Norberg
|
2fec803ae4
|
merged ssl fix from RC_0_16
|
2013-08-12 03:31:44 +00:00 |
Arvid Norberg
|
a854373a04
|
raise time limit for unit tests. improve logging of udp tracker test
|
2013-08-04 00:49:41 +00:00 |
Arvid Norberg
|
45607520e9
|
attempt to make unit tests more likely to clean up proxy processes after themselves
|
2013-08-03 23:30:37 +00:00 |
Arvid Norberg
|
990275d2dc
|
merge test_ssl fix from RC_0_16
|
2013-08-02 01:12:27 +00:00 |
Arvid Norberg
|
0acd1200f3
|
fixed test_transfer
|
2013-08-01 03:50:57 +00:00 |
Arvid Norberg
|
87ae3fd01a
|
more timestamps in test logs
|
2013-07-30 06:04:16 +00:00 |
Arvid Norberg
|
6cf5466f5f
|
fix test_web_seed for use in trunk, where tests are run in separate directories
|
2013-07-29 09:27:46 +00:00 |
Arvid Norberg
|
beae6cece0
|
merged ssl fix from RC_0_16
|
2013-07-28 15:06:28 +00:00 |
Arvid Norberg
|
a6c662ec0a
|
fix SSL build of unit tests
|
2013-07-22 00:53:13 +00:00 |
Arvid Norberg
|
facbf9c178
|
don't expose load_file as a public function
|
2013-07-19 21:41:33 +00:00 |
Arvid Norberg
|
aa58f26985
|
fix dynamic linking of test library on windows
|
2013-06-23 17:36:00 +00:00 |
Arvid Norberg
|
6b6c06fa0b
|
test log improvements
|
2013-06-21 01:06:40 +00:00 |
Arvid Norberg
|
208321dab0
|
improve test logging
|
2013-06-20 05:28:42 +00:00 |
Arvid Norberg
|
3b9fd38c22
|
fix build of test_storage without deprecated functions
|
2013-06-18 07:33:49 +00:00 |
Arvid Norberg
|
1774e989f0
|
make tests run in separate directories, to have them never interfere with eachother
|
2013-06-17 00:45:17 +00:00 |
Arvid Norberg
|
7f23627581
|
some more output for the servers started by some tests
|
2013-06-16 23:05:11 +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
|
6bc908fd49
|
merged anonymous mode fix from RC_0_16
|
2013-06-12 07:57:13 +00:00 |
Arvid Norberg
|
bdf0e1764b
|
merged fixes from RC_0_16
|
2013-05-11 22:00:54 +00:00 |
Arvid Norberg
|
23ee02ccab
|
fix race condition fix from RC_0_16
|
2013-03-10 10:45:22 +00:00 |
Arvid Norberg
|
3599b130c0
|
expand unit tests
|
2013-02-24 10:02:26 +00:00 |
Arvid Norberg
|
640f3e1f2d
|
merge test_checking fix from RC_0_16
|
2013-01-07 00:55:15 +00:00 |
Arvid Norberg
|
d8c2228ff3
|
merged some windows fixes from RC_0_16
|
2013-01-06 18:38:33 +00:00 |
Arvid Norberg
|
38d7e58177
|
merge checking fix from RC_0_16
|
2013-01-06 04:53:26 +00:00 |
Arvid Norberg
|
8f0d039b3c
|
merged proxy test change from RC_0_16
|
2012-10-11 02:20:16 +00:00 |
Arvid Norberg
|
342a0b9306
|
merged UNC path fixes from libtorrent_aio
|
2012-06-16 23:23:36 +00:00 |
Arvid Norberg
|
f6450b91bb
|
randomize proxy port to improve chances of unit tests passing
|
2012-06-09 16:58:16 +00:00 |
Arvid Norberg
|
6acde24799
|
merged SSL fix from RC_0_16
|
2012-04-05 04:17:19 +00:00 |
Arvid Norberg
|
00aa80a5fd
|
fix issue in web_peer_connection when the combined header size + chunk headers exceeds 1 kB
|
2012-03-23 04:35:35 +00:00 |
Arvid Norberg
|
bc851d317f
|
work on test_web_seed
|
2012-03-22 01:48:17 +00:00 |
Arvid Norberg
|
26805c944c
|
converted use of deprecated functions in the tests
|
2012-03-19 04:02:13 +00:00 |
Arvid Norberg
|
5a23d04143
|
fix some clang warnings
|
2012-02-18 08:23:48 +00:00 |
Arvid Norberg
|
12d94246df
|
improve test error messages
|
2011-11-25 22:50:43 +00:00 |
Arvid Norberg
|
0f6b34c260
|
fixed unit test
|
2011-10-30 03:51:55 +00:00 |
Arvid Norberg
|
4e1af65fe0
|
fix issue where event=stopped announces wouldn't be sent when closing session
|
2011-09-17 21:15:42 +00:00 |
Arvid Norberg
|
726f89ca99
|
(partially) fix test_web_seed
|
2011-09-10 05:36:38 +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
|
cb3371dd7f
|
print even less in test_web_seed
|
2011-04-10 01:36:07 +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
|
48a009f1c5
|
fixed typo
|
2011-02-22 07:28:03 +00:00 |
Arvid Norberg
|
b69db24e30
|
use terminal colors on mingw
|
2011-02-22 03:32:07 +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
|
513914050c
|
fixed broadcast_lsd option. in trunk, redefined it to only broadcast every 8th packet
|
2011-02-16 10:16:52 +00:00 |
Arvid Norberg
|
6663f527da
|
fixed error handling in torrent_info constructor
|
2011-01-19 10:07:51 +00:00 |
Arvid Norberg
|
d1124574ef
|
fix test_transfer to set mixed mode to 'prefer_tcp' to avoid having it interfere with the send rate. optimize the test to run a lot faster. fix proxy to allow any protocol (fixes issue where test failed with http and https proxy). Bump the minimum rate limit to 20kB/s (from 5kB/s) in proportional mixed mode algorithm
|
2010-12-27 22:54:14 +00:00 |
Arvid Norberg
|
c4422cd34e
|
optimize test_transfer. fix set_upload_mode() bug for seeds. clean up some verbose logging. fix tests to not fail by EAGAIN on stdout
|
2010-12-24 00:37:01 +00:00 |
Arvid Norberg
|
47ec708f49
|
disable uTP for test_transfer (since proxy is not set up for UDP)
|
2010-12-20 00:20:56 +00:00 |
Arvid Norberg
|
e5f980d80d
|
merged uTP branch into trunk (yay)
|
2010-11-29 01:33:05 +00:00 |
Arvid Norberg
|
c861d0344d
|
fixed typo in unit test
|
2010-10-31 03:08:12 +00:00 |
Arvid Norberg
|
0773644a4e
|
fixed web seed test to work with invariant checks turned on and fixed error reporting when receiving an unexpected responce for http seeds
|
2010-10-30 19:45:50 +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
|
d737dd051d
|
added support for chunked encoding for web seeds
|
2010-10-27 06:39:18 +00:00 |
Arvid Norberg
|
3948ca3179
|
fixed bugs in http seed connection and added unit test for it
|
2010-10-17 16:15:32 +00:00 |
Arvid Norberg
|
7bd25edc9d
|
generalize SSL support to also include web seeds (and in theory regular peers)
|
2010-10-12 08:57:43 +00:00 |
Arvid Norberg
|
02668e8f75
|
fix message posting to work from multiple threads
|
2010-08-26 17:00:24 +00:00 |
Arvid Norberg
|
b44f71e217
|
post alerts for socks failures. fix unit tests
|
2010-08-25 06:22:49 +00:00 |
Arvid Norberg
|
897e615a86
|
optimized storage test
|
2010-08-08 07:53:47 +00:00 |
Arvid Norberg
|
06190d8920
|
fixed bug in web_peer_connection which could cause a hang when downloading from web servers
|
2010-06-22 18:09:04 +00:00 |
Arvid Norberg
|
9fd624ecb6
|
solaris build fixes
|
2010-05-02 22:26:43 +00:00 |
Arvid Norberg
|
a14a8b6e5f
|
fixed an debug iterator assert in test
|
2010-04-02 20:48:09 +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
|
09a1023eb3
|
fixed issue with UDP over SOCKS5. Added a udp tracker to the unit test to make sure it works. Added tracker tests for all proxies
|
2010-02-18 04:37:02 +00:00 |
Arvid Norberg
|
a47c40d7fa
|
fixed web server tests to not require a fixed port. Should be much more likely to pass now
|
2010-01-23 23:57:11 +00:00 |
Arvid Norberg
|
a641f66258
|
use alert_cast instead of dynamic_cast in unit tests
|
2010-01-18 07:02:56 +00:00 |
Arvid Norberg
|
8154ca3c7c
|
more http test fixes
|
2009-12-25 22:18:14 +00:00 |
Arvid Norberg
|
ef6c143e74
|
fixed web seed unit test
|
2009-12-25 16:00:15 +00:00 |
Arvid Norberg
|
310a4b8012
|
fix shutdown issue in web server unit test
|
2009-12-17 08:50:35 +00:00 |
Arvid Norberg
|
2055426c52
|
fix trunk build and tests build without exceptions
|
2009-12-16 10:42:34 +00:00 |
Arvid Norberg
|
96cedc9b5f
|
more beos fixes
|
2009-12-15 13:11:07 +00:00 |
Arvid Norberg
|
cee7f2a809
|
dropped dependency on lighttpd for the tests
|
2009-12-05 23:41:33 +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
|
8a5b7d5d36
|
got rid of the last recursive mutexes. abstracted the threading primitives (and switched over to use asio's internal ones).
|
2009-10-20 02:49:56 +00:00 |
Arvid Norberg
|
fffda3c738
|
fixed tracker error race condition
|
2009-06-23 01:52:44 +00:00 |
Arvid Norberg
|
9effe8a54a
|
fixed deadlock in http_connection. added two error codes for that class. Added more documentation on error_code
|
2009-05-30 18:50:38 +00:00 |
Arvid Norberg
|
cb9c3cb37d
|
memory optimization for checking torrents
|
2009-05-21 16:15:05 +00:00 |
Arvid Norberg
|
32a42bae99
|
removed some dependencies on stringstream
|
2009-04-13 04:22:03 +00:00 |
Arvid Norberg
|
408f181481
|
fixed test_pex
|
2009-04-10 21:25:37 +00:00 |
Arvid Norberg
|
bc9e58962b
|
optimized unit tests
|
2009-04-10 08:40:13 +00:00 |
Arvid Norberg
|
2b671bc820
|
more iostream fixes
|
2009-04-04 21:44:04 +00:00 |
Arvid Norberg
|
1ac8f806fa
|
added seed mode support (lazy hash checking)
|
2009-02-03 07:46:24 +00:00 |
Arvid Norberg
|
090502390f
|
updates to test_storage
|
2009-01-02 09:42:51 +00:00 |
Arvid Norberg
|
b41cdd6469
|
initial super seeding support
|
2008-12-08 06:36:22 +00:00 |
Arvid Norberg
|
357d548bb5
|
fixed boost.filesystem usage to not rely on deprecated functions
|
2008-11-21 23:38:07 +00:00 |
Arvid Norberg
|
5e5643f7a7
|
test_http_connection fix
|
2008-11-14 07:59:54 +00:00 |
Arvid Norberg
|
c6b793021d
|
make tests not depend on exceptions
|
2008-11-05 03:17:41 +00:00 |
Arvid Norberg
|
ef8e2c6d50
|
fixed setup transfer for the test
|
2008-10-30 05:31:26 +00:00 |
Arvid Norberg
|
ef42e8f77c
|
fixed rename_file to work when the file hasn't been created yet. Fixed error reporting when rename_file fails. Updates the file in the torrent_handle when filename is updated
|
2008-09-30 23:37:42 +00:00 |
Arvid Norberg
|
de907e17ff
|
enables alerts earlier in test_swarm
|
2008-08-25 21:23:21 +00:00 |
Arvid Norberg
|
37389e4fe4
|
added test to measure peak download rate and introduced performance warning alert when disk buffer limit and request limit are reached
|
2008-08-19 15:04:14 +00:00 |
Arvid Norberg
|
9266afe5f5
|
fixed bug where a torrent would not get into the 'finished' state right after file checking. It would either go to downloading or seeding. Also added test_transfer
|
2008-08-18 20:02:50 +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
|
3910fe78de
|
separated file_storage from torrent_info and create_torrent
|
2008-05-28 08:44:40 +00:00 |
Arvid Norberg
|
b952d85734
|
fixed error handling and added support for relative http redirects (which aren't allowed by the standard)
|
2008-05-18 04:48:06 +00:00 |
Arvid Norberg
|
8ed949c4d5
|
factored out torrent creation functionality from torrent_info into create_torrent. Modified torrent_info to use lazy_bdecoder for increased performance
|
2008-05-14 05:29:42 +00:00 |
Arvid Norberg
|
7bde9ef4a9
|
improved debug logging in regression tests
|
2008-05-12 07:01:25 +00:00 |
Arvid Norberg
|
c8416cc79e
|
fixed http_connection test (stopped working with new echo semantics in leopard)
|
2008-03-21 05:54:01 +00:00 |
Arvid Norberg
|
6caca17883
|
refactored gzip code and added gzip support to http_connection
|
2008-01-30 18:32:13 +00:00 |
Arvid Norberg
|
61bbc6e58f
|
initial https support for trackers and http_connection. Added support for proxies to http_connection
|
2008-01-27 22:39:50 +00:00 |
Arvid Norberg
|
81302c8fed
|
fixed http_connection redirection support and added test (still requires lighttp)
|
2008-01-12 01:41:56 +00:00 |
Arvid Norberg
|
630ad7cc85
|
updates to test
|
2008-01-08 05:46:20 +00:00 |
Arvid Norberg
|
6c364731a9
|
updated tests
|
2008-01-05 06:55:17 +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
|
e03ffb1d6b
|
added proxy test to test_web_seed
|
2007-11-28 00:16:14 +00:00 |
Arvid Norberg
|
8fc9f9e842
|
made test_http_connection use lighty as well (the test is more self contained)
|
2007-11-27 00:06:59 +00:00 |
Arvid Norberg
|
d29fbdc453
|
added tests for fast extension features + fixes
|
2007-10-04 09:32:09 +00:00 |
Arvid Norberg
|
0b1a542aa9
|
added test for local service discovery
|
2007-10-01 02:09:12 +00:00 |
Arvid Norberg
|
57a76f9db6
|
fixed debug assert on linux
|
2007-09-10 06:12:41 +00:00 |
Arvid Norberg
|
cd5275f8e6
|
test fix
|
2007-09-01 04:43:13 +00:00 |
Arvid Norberg
|
a3d4b1bdd9
|
fixed build problems on windows
|
2007-08-21 07:33:06 +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
|
e714e1aeba
|
improved bandwidth limiter and added a unit test for it
|
2007-07-02 23:48:06 +00:00 |
Arvid Norberg
|
0d7a208865
|
added more output to transfer tests and changed the data to be more easily debuggable + some code cleanup
|
2007-06-20 18:41:53 +00:00 |
Arvid Norberg
|
3b8670626a
|
merged back async_io branch into trunk
|
2007-06-10 20:46:09 +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 |
Arvid Norberg
|
273f8bd921
|
merged back encryption branch to trunk
|
2007-06-06 00:41:20 +00:00 |
Arvid Norberg
|
e35fc5c4be
|
refactored extensions and added a plugin interface. fixed file.cpp for windows
|
2006-11-14 00:08:16 +00:00 |
Arvid Norberg
|
f0519e86e8
|
separated session from session_impl and made a real pimpl-class of it. Introduced the possibility to destruct the sessions async.
|
2006-10-11 14:02:21 +00:00 |
Arvid Norberg
|
94628fa78d
|
fixed race condition in peer_connection, fixed assert in torrent destructor, updated tests
|
2006-05-28 19:03:54 +00:00 |