Arvid Norberg
|
b56b3613fe
|
some debug output in web_server.py
|
2015-01-11 07:45:06 +00:00 |
Arvid Norberg
|
790bdb3855
|
improve logging of http proxy for unit test
|
2015-01-09 14:13:19 +00:00 |
Arvid Norberg
|
7761cba38a
|
fix web_seed unit test
|
2015-01-09 14:02:48 +00:00 |
Arvid Norberg
|
2eab21b0ac
|
attempted fixes for windows unit tests
|
2015-01-09 00:41:19 +00:00 |
Arvid Norberg
|
e161bf080d
|
web_seed test debug logging
|
2015-01-08 22:54:11 +00:00 |
Arvid Norberg
|
1a53a454ec
|
fix ssl unit test
|
2015-01-06 08:16:03 +00:00 |
Arvid Norberg
|
0f37e3403c
|
transition from intrusive_ptr to shared_ptr. don't export initialize_default_settings
|
2015-01-06 08:08:49 +00:00 |
Arvid Norberg
|
c2e5df57b5
|
extend http_connection unit test to cover no keep-alive
|
2015-01-05 16:17:23 +00:00 |
Arvid Norberg
|
3be0430036
|
merged changes from RC_1_0
|
2015-01-05 12:15:16 +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
|
1218e328cd
|
SSL fixes (especially over uTP)
|
2015-01-04 01:04:56 +00:00 |
Arvid Norberg
|
80b5a61655
|
fix test_ssl build
|
2015-01-03 22:40:19 +00:00 |
Arvid Norberg
|
ed9b281ea4
|
fix some unit tests
|
2015-01-03 20:17:38 +00:00 |
Arvid Norberg
|
b897a6ce29
|
fix bug in settings_pack causing intermittent unit test failures. added unit test to cover the bug
|
2015-01-03 16:52:22 +00:00 |
Arvid Norberg
|
290260054d
|
fix http restart-piece bug whose fix apparently failed to merge from RC_1_0 a long time ago. Also improve logging of restart pieces
|
2015-01-03 13:09:09 +00:00 |
Arvid Norberg
|
764b09d6b5
|
make the peer fingerprint a regular setting and remove it from the main session constructor argument list
|
2014-12-31 15:51:45 +00:00 |
Arvid Norberg
|
0977d94dbc
|
merged changes from RC_1_0
|
2014-12-25 11:24:02 +00:00 |
Arvid Norberg
|
ca3c1620bd
|
merged changes from RC_1_0
|
2014-12-17 14:33:52 +00:00 |
Arvid Norberg
|
20b4608c38
|
optimize copying torrent_info and file_storage objects
|
2014-12-17 05:33:16 +00:00 |
Arvid Norberg
|
5666cdcd07
|
fix warnings
|
2014-12-09 09:33:34 +00:00 |
Arvid Norberg
|
09bc1550e9
|
simplify the debug logging mechanism. There's now only one build option, logging=on or logging=off. When logging is enabled, the log level is controlled by the alert mask. All log events are delivered as alerts and it's up to the client to write them to disk in whatever way seems appropriate. removed the pointless logger plugin
|
2014-12-09 09:08:26 +00:00 |
Arvid Norberg
|
1ed1963f29
|
remove size_type typedef in favor of boost::int64_t
|
2014-12-03 04:32:50 +00:00 |
Arvid Norberg
|
1e12b50b24
|
merge changes from RC_1_0
|
2014-11-30 00:30:30 +00:00 |
Arvid Norberg
|
8ec7cff993
|
merged changes from RC_1_0
|
2014-11-26 02:02:32 +00:00 |
Arvid Norberg
|
658e2ceefd
|
merged Steven Siloti's peer crypto patch into trunk
|
2014-11-23 06:14:47 +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
|
bfb0c4fe80
|
merged changes from RC_1_0
|
2014-11-12 16:57:59 +00:00 |
Arvid Norberg
|
2514e7a0e2
|
fix file_progress
|
2014-11-11 09:08:47 +00:00 |
Arvid Norberg
|
f7221e277f
|
add unit test for crc32c and fix cpuid warning
|
2014-11-10 02:05:46 +00:00 |
Arvid Norberg
|
e526355d24
|
merged changes from RC_1_0
|
2014-11-09 11:17:13 +00:00 |
Arvid Norberg
|
77363ad93e
|
fix file progress calculation bug (with unit test)
|
2014-11-08 18:36:54 +00:00 |
Arvid Norberg
|
aae56c991c
|
merged changes from RC_1_0
|
2014-11-08 16:58:18 +00:00 |
Arvid Norberg
|
601f0dc434
|
merged changes from RC_1_0
|
2014-11-03 06:15:51 +00:00 |
Arvid Norberg
|
3742fd2699
|
merged changes from RC_1_0
|
2014-11-02 09:41:29 +00:00 |
Arvid Norberg
|
85cc72835e
|
finally rename policy to peer_list
|
2014-10-26 07:34:31 +00:00 |
Arvid Norberg
|
0bcbe433ed
|
deprecate most of cache_status type (use session stats instead)
|
2014-10-25 20:07:50 +00:00 |
Arvid Norberg
|
02a9ea18b7
|
deprecated auto_expand_choker. started factoring out choker logic into its own translation unit (preparing for making it unit testable)
|
2014-10-22 22:06:56 +00:00 |
Arvid Norberg
|
907dc9dddd
|
merged changes from RC_1_0
|
2014-10-22 07:05:10 +00:00 |
Arvid Norberg
|
14c9bd90d3
|
fix bug in setup_transfer (for unit tests). fix verbose logging build. make sure test_pex is reliable
|
2014-10-21 02:08:46 +00:00 |
Arvid Norberg
|
9b37efe6a8
|
first steps towards removing session_impl dependency from tracker connections, to improve their testability
|
2014-10-21 00:28:51 +00:00 |
Arvid Norberg
|
22f054e2ff
|
fix test_checking
|
2014-10-20 16:52:28 +00:00 |
Arvid Norberg
|
f6b3d43565
|
fix checking unit test
|
2014-10-20 03:44:18 +00:00 |
Arvid Norberg
|
fce967b5fb
|
merged changes from RC_1_0 to change email address from @rasterbar.com to @libtorrent.org
|
2014-10-14 02:06:20 +00:00 |
Arvid Norberg
|
32d368e1ce
|
merged changes from RC_1_0
|
2014-10-12 18:16:46 +00:00 |
Arvid Norberg
|
939411488e
|
split time_critical and super_seeding tests out of test_swarm
|
2014-10-12 08:39:14 +00:00 |
Arvid Norberg
|
ec472daee3
|
fix bug in peer_connection causing it to not connect when not having metadata
|
2014-10-12 06:29:34 +00:00 |
Arvid Norberg
|
2fb15597ee
|
make test_metadata_extension test uTP vs. TCP as well, and polish output
|
2014-10-12 05:05:41 +00:00 |
Arvid Norberg
|
a91848962a
|
merge changes from RC_1_0
|
2014-10-12 04:18:34 +00:00 |
Arvid Norberg
|
e5ec81fb71
|
merged ssl test keys from RC_1_0
|
2014-10-08 04:16:56 +00:00 |
Arvid Norberg
|
a655047cb0
|
support SSL over uTP (unit test is still failing with same errors as previously, this has not been fixed yet)
|
2014-10-06 03:03:01 +00:00 |
Arvid Norberg
|
ceccc2a483
|
land branch to remove half-open connection limit / connection queue
|
2014-10-03 20:56:57 +00:00 |
Arvid Norberg
|
ba75b44c29
|
merged fix from RC_1_0
|
2014-09-29 08:30:11 +00:00 |
Arvid Norberg
|
f8272b90ae
|
merged changes from RC_1_0
|
2014-09-29 07:06:18 +00:00 |
Arvid Norberg
|
2d438e0758
|
factor out parse_tracker_response and add unit tests. make gen_todo cover tests also, and regenerate todo.html
|
2014-09-29 06:10:22 +00:00 |
Arvid Norberg
|
b707ea008b
|
merged unit test from RC_1_0
|
2014-09-21 20:19:37 +00:00 |
Arvid Norberg
|
7e69239991
|
merged unit test from RC_1_0
|
2014-09-17 02:10:48 +00:00 |
Arvid Norberg
|
eb32b1fef1
|
merged changes from RC_1_0
|
2014-09-12 22:38:07 +00:00 |
Arvid Norberg
|
252e08a889
|
merged fixes from RC_1_0
|
2014-09-04 08:55:24 +00:00 |
Arvid Norberg
|
bed6d5c233
|
fix test builds without deprecated functions
|
2014-09-03 03:17:47 +00:00 |
Arvid Norberg
|
e2abfa8ab4
|
test build fix
|
2014-09-02 09:22:01 +00:00 |
Arvid Norberg
|
a44900e5db
|
merged changes from RC_1_0
|
2014-09-02 08:03:01 +00:00 |
Arvid Norberg
|
649d7646fb
|
test build fix. another boost.chrono overflow issue fixed
|
2014-09-02 08:01:09 +00:00 |
Arvid Norberg
|
4d57456199
|
merged changes from RC_1_0
|
2014-09-02 06:28:27 +00:00 |
Arvid Norberg
|
19f3de10dd
|
merged changes from RC_1_0
|
2014-09-01 08:59:12 +00:00 |
Arvid Norberg
|
48e4cf9478
|
merged changes from RC_1_0
|
2014-08-28 07:11:34 +00:00 |
Arvid Norberg
|
48ea42c990
|
merged changes from RC_1_0
|
2014-08-27 05:57:37 +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
|
3f88389f05
|
merged changes from RC_1_0
|
2014-08-16 07:46:06 +00:00 |
Arvid Norberg
|
c60ceacb71
|
switch over to use boost.atomic instead of home-built one
|
2014-08-01 07:32:54 +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
|
c4b2682599
|
improve robustness of test_privacy and error messages of test_fast_extension
|
2014-08-01 05:44:48 +00:00 |
Arvid Norberg
|
fb23601898
|
merge bitfield fix from RC_1_0 (although, fix doesn't apply)
|
2014-07-28 04:41:40 +00:00 |
Arvid Norberg
|
79a2744fa8
|
fixed issue with queued resume data saving, and fixed regression in recent disk error check changes
|
2014-07-21 03:03:59 +00:00 |
Arvid Norberg
|
8552e75f21
|
merge error code fix from RC_1_0
|
2014-07-20 20:49:56 +00:00 |
Arvid Norberg
|
30d561d0c5
|
merged random_seed assert into trunk
|
2014-07-19 02:17:19 +00:00 |
Arvid Norberg
|
24b9101075
|
merged changes from RC_1_0
|
2014-07-12 06:20:16 +00:00 |
Arvid Norberg
|
34440224fc
|
merged web seed redirect fix from RC_1_0
|
2014-07-09 20:53:39 +00:00 |
Arvid Norberg
|
a6f345181f
|
fixed some unused argument warnings
|
2014-07-07 06:28:48 +00:00 |
Arvid Norberg
|
7351389ce8
|
land libtorrent_aio branch in trunk
|
2014-07-06 19:18:00 +00:00 |
Arvid Norberg
|
53401b92cd
|
fix makefile issue
|
2014-07-02 09:20:57 +00:00 |
Arvid Norberg
|
b0f91b8ed5
|
fix openssl usage in unit tests makefile
|
2014-07-02 08:41:52 +00:00 |
Arvid Norberg
|
fa4c016d39
|
fix bug in udp_socket when changing socks5 proxy quickly
|
2014-06-30 08:41:33 +00:00 |
Arvid Norberg
|
91a22d48c3
|
fix bugs in convert_to/from_native() on windows
|
2014-06-25 17:43:25 +00:00 |
Arvid Norberg
|
46e9d1048a
|
minor tweak to makefile build system (blindly)
|
2014-06-19 03:32:53 +00:00 |
Arvid Norberg
|
b79dd1fee1
|
fix issue with symlink attributes
|
2014-06-18 06:20:12 +00:00 |
Arvid Norberg
|
2b7bef0f7b
|
fix support for web servers not supporting keepalive
|
2014-06-15 18:02:59 +00:00 |
Arvid Norberg
|
330d46a4c6
|
makefile fixes (and add missing upnp.xml file)
|
2014-05-11 03:14:53 +00:00 |
Arvid Norberg
|
e225259481
|
fix some msvc warnings
|
2014-05-10 03:23:05 +00:00 |
Arvid Norberg
|
68b2679a16
|
move string_tokenize out of i2p_stream and add unit test for it
|
2014-05-04 22:40:30 +00:00 |
Arvid Norberg
|
f015c0604a
|
fix build and socket_io test
|
2014-05-04 08:20:31 +00:00 |
Arvid Norberg
|
555efd9279
|
factor out address/endpoint I/O into it's own unit test. merge write_string from bencode and socket_io. extend unit test
|
2014-05-04 06:46:47 +00:00 |
Arvid Norberg
|
863a046e68
|
don't include deprecated functions in test coverage
|
2014-05-04 00:44:30 +00:00 |
Arvid Norberg
|
63942545a8
|
extend identify_client test
|
2014-05-03 22:16:56 +00:00 |
Arvid Norberg
|
253e827c28
|
extend utf8 unit test
|
2014-05-03 21:00:59 +00:00 |
Arvid Norberg
|
42ac467777
|
tweak chained buffer test
|
2014-05-03 16:51:07 +00:00 |
Arvid Norberg
|
ff8be0fc45
|
extend ignore patterns for windows test coverage
|
2014-05-03 06:27:21 +00:00 |
Arvid Norberg
|
0df8a95978
|
extend xml parser unit tests
|
2014-05-03 06:26:39 +00:00 |
Arvid Norberg
|
71561087fd
|
fixes for test_utf8 and test_gzip
|
2014-05-03 05:17:50 +00:00 |
Arvid Norberg
|
a52aadc713
|
add utf8 unit test
|
2014-05-03 05:09:21 +00:00 |
Arvid Norberg
|
838f8c3892
|
windows helper scripts for test coverage
|
2014-05-03 01:59:07 +00:00 |
Arvid Norberg
|
43c41ddfb1
|
fixed bug in gunzip
|
2014-05-02 16:11:25 +00:00 |
Arvid Norberg
|
af39c78205
|
extend lazy_bdecode unit test
|
2014-05-02 07:49:56 +00:00 |
Arvid Norberg
|
e19c52ec98
|
improve lazy_bdecode test to cover more error cases
|
2014-05-01 03:54:47 +00:00 |
Arvid Norberg
|
1b1ae16852
|
fix unit test jamfile
|
2014-04-27 16:54:10 +00:00 |
Arvid Norberg
|
9e94a73ddd
|
support web seeds in magnet links
|
2014-04-15 09:31:28 +00:00 |
Arvid Norberg
|
290ce566b0
|
fix resume file issue related to daylight savings time on windows
|
2014-04-04 07:30:54 +00:00 |
Arvid Norberg
|
91799025f2
|
merged bdecode fix from RC_0_16
|
2014-04-04 03:21:15 +00:00 |
Arvid Norberg
|
569ce0a965
|
honor pieces with priority 7 in sequential download mode
|
2014-04-03 02:03:14 +00:00 |
Arvid Norberg
|
9f0aec9427
|
attempt at msvc-10.0 build fix for test_dhy + small documentation note
|
2014-04-01 00:09:23 +00:00 |
Arvid Norberg
|
09bc76d8ae
|
add test vector from bep40 to test_peer_priority
|
2014-03-26 16:09:31 +00:00 |
Arvid Norberg
|
f3535b1e69
|
another msvc-7.1 fix
|
2014-03-25 04:13:58 +00:00 |
Arvid Norberg
|
fb5a558ff2
|
fix merge typo
|
2014-03-23 01:36:58 +00:00 |
Arvid Norberg
|
6a824ba2df
|
polish test_remap_files
|
2014-03-22 09:03:59 +00:00 |
Arvid Norberg
|
625e524240
|
merged test_tracker tweak from RC_0_16
|
2014-03-22 08:32:48 +00:00 |
Arvid Norberg
|
6ac8b9e006
|
improve regression testing framework
|
2014-03-16 23:55:18 +00:00 |
Arvid Norberg
|
2b5892289f
|
improve debug output from test_tracker
|
2014-03-16 19:15:17 +00:00 |
Arvid Norberg
|
826417b471
|
improve robustness of web_seed unit tests
|
2014-03-15 21:55:12 +00:00 |
Arvid Norberg
|
1c954451ff
|
seed mode fixes
|
2014-03-13 08:00:53 +00:00 |
Arvid Norberg
|
c68a768eda
|
improve test_tracker robustness
|
2014-03-11 07:20:45 +00:00 |
Arvid Norberg
|
03bfa4cea4
|
improve reliability of test_privacy
|
2014-03-11 07:12:49 +00:00 |
Arvid Norberg
|
1955ecf688
|
merged additional unit test from RC_0_16
|
2014-03-10 21:32:48 +00:00 |
Arvid Norberg
|
e332167ddd
|
improve storage unit tests
|
2014-03-07 08:39:55 +00:00 |
Arvid Norberg
|
b643962bfe
|
merged fixes from RC_0_16
|
2014-03-06 10:06:41 +00:00 |
Arvid Norberg
|
cff82fa319
|
export ed25519 functions from libtorrent. fix tools/dht_put build when dht is disabled. fix shared linking in tools Jamfile
|
2014-03-06 09:45:16 +00:00 |
Arvid Norberg
|
9f4e865596
|
merge remap_files unit test from RC_0_16
|
2014-03-05 09:37:49 +00:00 |
Arvid Norberg
|
043d540627
|
update dht unit test
|
2014-03-02 23:44:53 +00:00 |
Arvid Norberg
|
c8b38dcacd
|
fix dht unit test
|
2014-03-01 09:04:23 +00:00 |
Arvid Norberg
|
a0a41b6c5e
|
merged file priority fix from RC_0_16 and keep the disk thread's file priorities up to date
|
2014-02-28 10:19:29 +00:00 |
Arvid Norberg
|
1188ec2dcd
|
expose new DHT put/get functionality in the public session API
|
2014-02-24 00:31:13 +00:00 |
Arvid Norberg
|
0a042dde8b
|
clean up udp-tracker unit tests
|
2014-02-23 01:32:55 +00:00 |
Arvid Norberg
|
0398dfe498
|
merged storage allocation mode fix from RC_0_16
|
2014-02-07 08:58:52 +00:00 |
Arvid Norberg
|
6c22d426d4
|
make all unit tests pass msvc's /RTCc instrumentation (no implicit integer truncation in casts)
|
2014-02-05 09:38:32 +00:00 |
Arvid Norberg
|
15e2019332
|
clean up upnp error category by moving it into upnp.cpp, it's not properly encapsulated. added some documentation to torrent_handle. reformatted some documentation comments to honor an 80 column display
|
2014-02-02 03:05:55 +00:00 |
Arvid Norberg
|
077f728931
|
more test_transfer polish. fix issue where passing on our listen port depended on anonymous_mode, instead of use_proxy. not passing it on would break a few unit tests
|
2014-01-26 08:36:56 +00:00 |
Arvid Norberg
|
36c9add067
|
don't print stuff to stdout in debug builds. when waking up from completing a connection attempt, exit immediately if the connection is disconnecting, or disconnect if we're in graceful pause mode. some test cleanups
|
2014-01-26 08:18:13 +00:00 |
Arvid Norberg
|
ef94954f7e
|
fix suppressions file
|
2014-01-26 01:28:16 +00:00 |
Arvid Norberg
|
43bc1954fa
|
attempt to make test_priority more robust
|
2014-01-25 23:04:24 +00:00 |
Arvid Norberg
|
11e1e147a3
|
suppress libcrypto issue in valgrind runs
|
2014-01-25 22:56:22 +00:00 |
Arvid Norberg
|
34b83ddd71
|
make test_transfer much more likely to succeed
|
2014-01-24 09:31:47 +00:00 |
Arvid Norberg
|
6bda2f7430
|
change peer priority to use crc32c instead of sha1
|
2014-01-23 02:28:04 +00:00 |
Arvid Norberg
|
99d9916c29
|
some more piece_picker asserts
|
2014-01-22 09:53:47 +00:00 |
Arvid Norberg
|
120f09454f
|
web test suite fix
|
2014-01-22 06:25:28 +00:00 |
Arvid Norberg
|
ad635c7081
|
we're not always supposed to gzip test_file in web_server.py (unit test)
|
2014-01-22 04:05:23 +00:00 |
Arvid Norberg
|
8bf283c7fe
|
fix test_http_connection for windows
|
2014-01-22 02:59:09 +00:00 |
Arvid Norberg
|
3547728a0e
|
fix socks proxy error reporting for unit tests
|
2014-01-21 09:46:03 +00:00 |
Arvid Norberg
|
41693bfa97
|
fix windows support in web_server.py for unit tests
|
2014-01-21 09:34:51 +00:00 |
Arvid Norberg
|
65a847fd43
|
open files in binary mode in unit test web server (may fix some issues on windows)
|
2014-01-21 00:04:52 +00:00 |
Arvid Norberg
|
9b0f022499
|
test_priority updates
|
2014-01-20 20:26:12 +00:00 |
Arvid Norberg
|
452e78ba3b
|
wait for torrent to be seeding before trying to connect to it, in test_ssl
|
2014-01-20 03:00:25 +00:00 |
Arvid Norberg
|
dca3f3c1a8
|
improve SSL error reporting and fix torrent_info::ssl_cert() bug
|
2014-01-20 01:01:03 +00:00 |
Arvid Norberg
|
8ab1d8b686
|
more build fixes and cleaning up
|
2014-01-19 20:19:15 +00:00 |
Arvid Norberg
|
f28e6c8c81
|
fix potential buffer overrun in unit test
|
2014-01-18 06:54:13 +00:00 |
Arvid Norberg
|
b283d58899
|
fix some uninitialized members
|
2014-01-18 06:53:47 +00:00 |
Arvid Norberg
|
a24157c4d9
|
socks.py should not print all the data it forwards
|
2014-01-17 08:57:35 +00:00 |
Arvid Norberg
|
36889a1524
|
asserts and logging in SSL test
|
2014-01-17 01:00:49 +00:00 |
Arvid Norberg
|
130b2fb25c
|
fix socks.py
|
2014-01-16 08:40:28 +00:00 |
Arvid Norberg
|
67219409a4
|
more output and error handling in socks.py
|
2014-01-14 09:07:39 +00:00 |
Arvid Norberg
|
d7be4659c8
|
rate limiter overflow fix (for very high limits)
|
2014-01-13 06:49:47 +00:00 |
Arvid Norberg
|
86b68e65e4
|
merged dht node ID change from RC_0_16
|
2014-01-11 08:08:43 +00:00 |
Arvid Norberg
|
ad7b2c87bd
|
fix ssl test
|
2014-01-08 06:18:57 +00:00 |
Arvid Norberg
|
ae7bb20170
|
update node ID generation algorithm from RC_0_16
|
2014-01-06 05:46:46 +00:00 |
Arvid Norberg
|
6dbc7091d3
|
fix link issue in build. caused corruption and crash in test_storage
|
2014-01-06 03:50:25 +00:00 |
Arvid Norberg
|
54bbd3cae0
|
support salt feature in DHT put
|
2014-01-03 04:18:46 +00:00 |
Arvid Norberg
|
260e97c4e0
|
document salt feature in put and get DHT extensions. include a test vector and add that to the unit test. (salt is not implemented)
|
2013-12-31 08:37:42 +00:00 |
Arvid Norberg
|
3f66a65917
|
assert that create_torrent returns a valid torrent_info pointer
|
2013-12-30 06:47:15 +00:00 |
Arvid Norberg
|
5b46be916b
|
merged storage fix from RC_0_16
|
2013-12-30 02:50:29 +00:00 |
Arvid Norberg
|
d6b1aa4c36
|
DHT refactoring and support for storing arbitrary data with put
|
2013-12-27 04:28:25 +00:00 |
Arvid Norberg
|
9fdae8f525
|
back ported bitfield test from libtorrent_aio
|
2013-12-24 08:34:30 +00:00 |
Arvid Norberg
|
444223c2e3
|
merged fixes from RC_0_16
|
2013-12-23 01:40:05 +00:00 |
Arvid Norberg
|
87f08265bc
|
some more fixes around TORRENT_DISABLE_EXTENSIONS
|
2013-12-21 06:20:16 +00:00 |
Arvid Norberg
|
df3204874d
|
clean up entry::print
|
2013-12-19 08:30:17 +00:00 |
Arvid Norberg
|
adb3a5523c
|
some defensive programming. cleanup unused boost include. tighten up boost includes
|
2013-12-17 23:26:44 +00:00 |
Arvid Norberg
|
60a33f8cf8
|
make test_ssl build without openssl (and also not do anything)
|
2013-12-16 06:17:05 +00:00 |
Arvid Norberg
|
ad772aecd8
|
test tweaks
|
2013-12-16 05:50:03 +00:00 |
Arvid Norberg
|
43f47275b6
|
fix test_ssl for trunk
|
2013-12-16 00:42:06 +00:00 |
Arvid Norberg
|
5910059869
|
test_natpmp is not a unit test
|
2013-12-16 00:38:46 +00:00 |
Arvid Norberg
|
64af2b833b
|
merged unit test fix from RC_0_16
|
2013-12-15 23:25:45 +00:00 |
Arvid Norberg
|
7a98a4b201
|
fix makefiles
|
2013-12-15 23:20:23 +00:00 |
Arvid Norberg
|
efd272681d
|
merged makefile fixes from RC_0_16
|
2013-12-15 22:29:11 +00:00 |
Arvid Norberg
|
1dfc93aad8
|
merged SSL unit tests from RC_0_16
|
2013-12-15 21:10:45 +00:00 |
Arvid Norberg
|
88e4e0a97b
|
strip trailing dots and spaces in filenames
|
2013-12-05 07:40:57 +00:00 |
Arvid Norberg
|
faa53d7657
|
member re-order and struct packing
|
2013-12-02 04:24:10 +00:00 |
Arvid Norberg
|
c08d3ef5db
|
fix build
|
2013-11-29 05:37:52 +00:00 |
Arvid Norberg
|
d64d12e50d
|
merge test_read_piece from RC_0_16
|
2013-11-24 01:32:51 +00:00 |
Arvid Norberg
|
ecb87b003b
|
attempt to fix http_connection unit test
|
2013-11-22 03:05:38 +00:00 |
Arvid Norberg
|
bcb703b9a3
|
improve duplicate file detection in torrent files
|
2013-11-18 06:59:47 +00:00 |
Arvid Norberg
|
31ecd1b914
|
copy test_torrent_info unit test from libtorrent_aio
|
2013-11-18 00:56:02 +00:00 |
Arvid Norberg
|
25e53cd799
|
fix set_naem() on file_storage actually affecting save paths
|
2013-11-17 08:02:16 +00:00 |
Arvid Norberg
|
a00f396224
|
merged test from RC_0_16
|
2013-11-07 17:12:11 +00:00 |
Arvid Norberg
|
3c5ec23480
|
add timeout to web_server.py for unit tests (it doesn't seem to die on windows otherwise)
|
2013-11-06 04:05:13 +00:00 |
Arvid Norberg
|
ec87fb2968
|
don't try to close connections in web_server.py (to may cause exceptions when using ssl)
|
2013-11-05 00:25:49 +00:00 |
Arvid Norberg
|
5d149e2d0a
|
fix web_seed_chunked test
|
2013-11-04 21:08:19 +00:00 |
Arvid Norberg
|
c147caca0d
|
fix ssl issue in web_server.py
|
2013-11-04 10:06:14 +00:00 |
Arvid Norberg
|
5fcd1237f0
|
fix race condition of closing http socket in web_server.py
|
2013-11-04 05:48:40 +00:00 |
Arvid Norberg
|
2ce6b83a8e
|
restore web_server.py
|
2013-11-04 01:35:57 +00:00 |
Arvid Norberg
|
236acfce27
|
merged completed-on fix from RC_0_16
|
2013-11-04 01:32:16 +00:00 |
Arvid Norberg
|
e60d54d90e
|
split up the web seed tests further into chunked encoding and banning of web seeds as their own tests
|
2013-11-03 18:27:24 +00:00 |
Arvid Norberg
|
b4aad2a481
|
move web_server for unit tests over to python
|
2013-11-03 08:15:51 +00:00 |
Arvid Norberg
|
03a6829070
|
add unit test for timer functions
|
2013-11-01 16:05:48 +00:00 |
Arvid Norberg
|
4e78921c76
|
more debug output for test web server
|
2013-10-28 07:56:10 +00:00 |
Arvid Norberg
|
c94ed806db
|
merged fix from RC_0_16
|
2013-10-24 07:22:44 +00:00 |
Arvid Norberg
|
1a2226b8f0
|
fix test_dht to take into account the slightly more relaxed semantics of routing_table::find_node
|
2013-10-22 05:20:00 +00:00 |
Arvid Norberg
|
a627a4e156
|
add negative test for put/get DHT feature. fix bug in signature verification and in DHT unit test
|
2013-10-22 01:24:33 +00:00 |
Arvid Norberg
|
1ca493b20d
|
test_priority fix
|
2013-10-21 08:48:53 +00:00 |
Arvid Norberg
|
3aa2d46b4b
|
if proxy name server lookup fails, and we're not in anonymous mode, disable the proxy and continue
|
2013-10-20 21:08:59 +00:00 |
Arvid Norberg
|
e8db4fe67a
|
make test_torrent cheaper
|
2013-10-20 08:06:18 +00:00 |
Arvid Norberg
|
1b888eeec6
|
optimize DHT
|
2013-10-20 07:06:42 +00:00 |
Arvid Norberg
|
416d064489
|
optimize some invariant checks and make test_utp shorted, to complete much faster
|
2013-10-20 06:03:23 +00:00 |
Arvid Norberg
|
f6970f6c35
|
test_pex fix
|
2013-10-20 04:49:50 +00:00 |
Arvid Norberg
|
6542795d0a
|
improved support for web seeds that don't support keep-alive
|
2013-10-20 02:40:43 +00:00 |
Arvid Norberg
|
299cec6377
|
make test_pex a bit more reliable
|
2013-10-18 08:14:49 +00:00 |
Arvid Norberg
|
17cb5d1041
|
attempt to make test_pe_crypto pass under valgrind in reasonable time
|
2013-10-16 08:22:14 +00:00 |
Arvid Norberg
|
73323e2c3d
|
more valgrind instrumentation
|
2013-10-16 08:11:19 +00:00 |
Arvid Norberg
|
7c47f18866
|
fix valgrind run of test_metadata_extension
|
2013-10-16 08:01:50 +00:00 |
Arvid Norberg
|
0985c9e6c8
|
don't run the CPU intensive part of test_dht under valgrind
|
2013-10-14 08:52:45 +00:00 |
Arvid Norberg
|
0a5a042752
|
fix typo
|
2013-10-14 08:34:22 +00:00 |
Arvid Norberg
|
65475d54a6
|
valgrind unit test polish
|
2013-10-14 08:15:08 +00:00 |
Arvid Norberg
|
8b2f561863
|
merged metadata_extension test unit patch from libtorrent_aio
|
2013-10-14 07:18:50 +00:00 |
Arvid Norberg
|
e515dd5c25
|
unittest polishing
|
2013-10-14 07:09:57 +00:00 |
Arvid Norberg
|
bb72af6bbe
|
attempt to make test_priority a bit more robust
|
2013-10-14 04:37:40 +00:00 |
Arvid Norberg
|
d4032c6101
|
fix compile warnings in ed25519 code
|
2013-10-14 01:04:02 +00:00 |
Arvid Norberg
|
afd80cffb7
|
add option to enforce node ID in the DHT
|
2013-10-14 01:03:43 +00:00 |
Arvid Norberg
|
50f051433a
|
merged DHT change from RC_0_16
|
2013-10-13 23:04:40 +00:00 |
Arvid Norberg
|
fb60de086b
|
merge some cleanup and fixes from libtorrent_aio
|
2013-10-12 06:03:19 +00:00 |
Arvid Norberg
|
145a2e74cb
|
cleanup test_priority
|
2013-10-11 08:36:17 +00:00 |
Arvid Norberg
|
9ec2f48a6e
|
split out test_priority from test_transfer
|
2013-10-10 17:00:32 +00:00 |
Arvid Norberg
|
6d7a473098
|
minor test_auto_unchoke cleanup
|
2013-10-10 08:07:36 +00:00 |
Arvid Norberg
|
28041accc1
|
unit test cleanup (test_metadata_transfer)
|
2013-10-10 07:50:34 +00:00 |
Arvid Norberg
|
722d56368c
|
increase tracker timeouts for test_privacy
|
2013-10-08 08:34:22 +00:00 |
Arvid Norberg
|
d45d193811
|
improve error message for tracker_error_alert. various smaller attempts at making the unit tests more reliable
|
2013-10-07 06:20:55 +00:00 |
Arvid Norberg
|
e94df810cb
|
proper fix for unit test http proxy handling EAGAIN
|
2013-10-07 01:12:31 +00:00 |
Arvid Norberg
|
793c65cc61
|
attempt to fix test http proxy to handle EAGAIN errors
|
2013-10-07 00:34:06 +00:00 |
Arvid Norberg
|
d90f7336b1
|
fix unit test web server for tracker announces
|
2013-10-07 00:33:55 +00:00 |
Arvid Norberg
|
f354f33f0e
|
add specific exit code for valgrind errors
|
2013-10-06 20:01:55 +00:00 |
Arvid Norberg
|
b94a13f94a
|
fail web seed tests quicker
|
2013-10-06 17:03:59 +00:00 |
Arvid Norberg
|
1dd5e5128b
|
fix issue in internal_file_entry when assigning an empty string that's borrowed
|
2013-10-05 04:18:24 +00:00 |
Arvid Norberg
|
590c0d876c
|
bump timeouts in http and socks python scripts
|
2013-10-04 15:51:32 +00:00 |
Arvid Norberg
|
d1f41a72f4
|
make socks.py and http.py shut themselves down after a timeout of inactivity (maybe that will fix the problem of them lingering, stalling tests). fix some issues in run_regression_tests.py
|
2013-10-03 05:44:38 +00:00 |
Arvid Norberg
|
64b563fd06
|
attempt to trigger valgrind errors earlier
|
2013-10-02 21:51:30 +00:00 |
Arvid Norberg
|
0e7fb25916
|
disable debug output in test web server
|
2013-10-01 22:18:13 +00:00 |
Arvid Norberg
|
6dcac0a33f
|
minor unit test fixes
|
2013-10-01 16:47:05 +00:00 |
Arvid Norberg
|
7545c15fc2
|
another attempt to fix test link error on windows
|
2013-10-01 15:44:32 +00:00 |
Arvid Norberg
|
c888d73964
|
attempt to fix test link error on windows
|
2013-10-01 09:20:36 +00:00 |
Arvid Norberg
|
d327916c27
|
fix bug in port randomization in unit tests
|
2013-10-01 04:30:15 +00:00 |
Arvid Norberg
|
53a95fbcc1
|
fix web seeding tests
|
2013-10-01 04:10:03 +00:00 |
Arvid Norberg
|
fcf923d301
|
fix Jamfile typo
|
2013-09-30 17:22:28 +00:00 |
Arvid Norberg
|
f8261494e0
|
just kill python instead of trying to shut it down gracefully, in tests
|
2013-09-30 17:17:11 +00:00 |
Arvid Norberg
|
a577dac775
|
split up test_web_seed into smaller tests
|
2013-09-29 22:50:06 +00:00 |
Arvid Norberg
|
a623c4c41c
|
back-port test port fix
|
2013-09-29 19:18:25 +00:00 |
Arvid Norberg
|
cc4536b122
|
make socks proxy work on windows
|
2013-09-28 06:02:18 +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
|
4f6f383e8b
|
fix typo in test Jamfile
|
2013-09-25 01:45:23 +00:00 |
Arvid Norberg
|
7bbb0e4e6c
|
don't use random_seed in test_dht
|
2013-09-24 15:33:25 +00:00 |
Arvid Norberg
|
e6f41c0d16
|
remove randomness from test_dht, to make it pass consistently
|
2013-09-24 08:14:50 +00:00 |
Arvid Norberg
|
4991a601c6
|
support proxy authentication in http.py and tests
|
2013-09-23 06:25:27 +00:00 |
Arvid Norberg
|
60f0af860f
|
fix mingw build of tests
|
2013-09-23 05:36:50 +00:00 |
Arvid Norberg
|
04825115b4
|
attempt to fix windows usage of new python based proxies
|
2013-09-22 13:34:32 +00:00 |
Arvid Norberg
|
9c99220dd1
|
make tests not rely on delegated anymore, but instead use simple python implementations for socks and http proxy
|
2013-09-22 03:37:33 +00:00 |
Arvid Norberg
|
fcff201356
|
make tests buildable both as shared and static linkage. static builds make it easier to debug
|
2013-09-20 14:14:29 +00:00 |
Arvid Norberg
|
1fb0511c51
|
minor typo in test launching of delegated
|
2013-09-20 12:18:53 +00:00 |
Arvid Norberg
|
8311c170f0
|
launch delegated.exe without waiting on it returning (windows)
|
2013-09-20 03:06:26 +00:00 |
Arvid Norberg
|
dfaddedc6f
|
another attempt to not make delegated stall
|
2013-09-18 09:05:27 +00:00 |
Arvid Norberg
|
413f7b00ba
|
run delegated.exe as a background process in case it can't daemonize
|
2013-09-18 08:43:08 +00:00 |
Arvid Norberg
|
40682837c9
|
minimal support for building tests with static linking
|
2013-09-18 08:42:30 +00:00 |
Arvid Norberg
|
89b6c51725
|
make test_swarm test with a smaller torrent, making the test complete faster
|
2013-09-17 09:33:42 +00:00 |
Arvid Norberg
|
bb925ad671
|
fix build error in test_dht
|
2013-09-16 03:49:30 +00:00 |
Arvid Norberg
|
40941608a9
|
improve DHT routing table some, by replacing high RTT nodes within a node ID prefix
|
2013-09-14 21:49:08 +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
|
a780b8469d
|
abstract generic_category() to build on boost-1.42 and older. fix some include issues in tests
|
2013-09-09 07:06:12 +00:00 |
Arvid Norberg
|
8ab8172cb7
|
improve DHT routing table to return better nodes (lower RTT and closer to target)
|
2013-09-09 04:16:52 +00:00 |
Arvid Norberg
|
0f3cb1b8a4
|
fix valgrind issues in tests
|
2013-09-04 05:50:40 +00:00 |
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
|
149c464d2e
|
support valgrind as a launcher of unit tests
|
2013-09-03 01:19:42 +00:00 |
Arvid Norberg
|
12fd5be372
|
fix bug in ed25519 DHT signature verification. removed RSA code as it's no longer used. add CAS feature (compare and swap) to DHT put command. update dht_store documentation
|
2013-09-03 00:45:48 +00:00 |
Arvid Norberg
|
fdab2e61da
|
fix test_storage
|
2013-09-02 21:30:58 +00:00 |
Arvid Norberg
|
f04b4da920
|
allow test_rate to take 7 seconds
|
2013-09-02 17:41:01 +00:00 |
Arvid Norberg
|
531d51dccf
|
fix unit tests build
|
2013-09-02 09:35:15 +00:00 |
Arvid Norberg
|
275c340231
|
make socket buffer sizes affect the udp socket as well. for high_performance_seed preset, set 1 MB socket buffers. only run test_rate() in proper release mode (without invariant checks and debug-iterators). lower the time limit of test_rate. update regression tests to disable invariant checks and debug iterators when building release mode
|
2013-09-02 09:24:34 +00:00 |
Arvid Norberg
|
124dbfb6ad
|
fix test_tracker again (synchronous session destruction is required)
|
2013-09-02 05:29:45 +00:00 |
Arvid Norberg
|
31da1eb4ae
|
some more unit test fixes
|
2013-09-01 18:00:01 +00:00 |
Arvid Norberg
|
d39c55cb8d
|
some more test fixes
|
2013-09-01 17:49:08 +00:00 |
Arvid Norberg
|
1c3229caa9
|
fix test_pe_crypto build
|
2013-09-01 17:39:40 +00:00 |
Arvid Norberg
|
d04748f1db
|
split up test_primitives some more
|
2013-09-01 06:52:50 +00:00 |
Arvid Norberg
|
dd192cfd3c
|
split up test_primitives into more tests (in an attempt to get the link-time down within the regression test time limit)
|
2013-09-01 01:10:50 +00:00 |
Arvid Norberg
|
fcdd839e87
|
fix test_privacy when DHT is disabled
|
2013-09-01 00:11:59 +00:00 |
Arvid Norberg
|
9bb808b747
|
speed up the test_privacy test a bit
|
2013-09-01 00:04:40 +00:00 |
Arvid Norberg
|
850b81e625
|
merged removal of AES code from RC_0_16
|
2013-08-31 20:23:58 +00:00 |
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
|
4ab2c14ca1
|
fix missing crypto symbols in unit tests for windows
|
2013-08-28 06:39:39 +00:00 |
Arvid Norberg
|
1869ab1c3e
|
one more attempt at fixing windows linking of test
|
2013-08-28 02:40:38 +00:00 |
Arvid Norberg
|
f2aca363ad
|
another attempt to get tests to link on windows
|
2013-08-27 07:02:46 +00:00 |
Arvid Norberg
|
e67d92bb58
|
fix test_dht link issue
|
2013-08-22 08:12:35 +00:00 |
Arvid Norberg
|
245c1791cf
|
use export macro from test
|
2013-08-21 04:32:05 +00:00 |
Arvid Norberg
|
4d7be9331b
|
attempt at fixing test linkage on windows
|
2013-08-20 06:05:15 +00:00 |
Arvid Norberg
|
2dc6f50f88
|
attempt to fix export issue of the ed25519 functions to unit tests
|
2013-08-19 06:45:56 +00:00 |
Arvid Norberg
|
b431ef7836
|
use crc32 for node ID restriction scheme
|
2013-08-19 05:24:35 +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
|
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
|
76f32f0659
|
fix race condition in test_threads
|
2013-08-18 06:03:59 +00:00 |
Arvid Norberg
|
530596cea8
|
merged test_transfer fix from RC_0_16
|
2013-08-18 01:08:18 +00:00 |
Arvid Norberg
|
023116db6f
|
merge ssl test fix from RC_0_16
|
2013-08-17 22:29:34 +00:00 |
Arvid Norberg
|
5141a6505a
|
merged url escaping fix from RC_0_16
|
2013-08-16 16:38:09 +00:00 |
Arvid Norberg
|
3bd53f88ef
|
fix build with internal_file_entry being deprecated without deprecated functions
|
2013-08-12 07:30:57 +00:00 |
Arvid Norberg
|
2fec803ae4
|
merged ssl fix from RC_0_16
|
2013-08-12 03:31:44 +00:00 |
Arvid Norberg
|
75ba9333e6
|
fix test_primitives build
|
2013-08-05 06:35:04 +00:00 |
Arvid Norberg
|
4a4880a822
|
relax requirement of test_ssl to allow for longer handshake time
|
2013-08-05 05:00:26 +00:00 |
Arvid Norberg
|
27ea092b51
|
optimize PEX to trigger earlier, and only start applying the load-balancing logic when it's needed
|
2013-08-04 05:09:20 +00:00 |
Arvid Norberg
|
11fd428c46
|
make test_transfer fail faster
|
2013-08-04 04:04:44 +00:00 |
Arvid Norberg
|
436bb199e3
|
SetErrorMode at the start of unit tests (on windows)
|
2013-08-04 03:04:59 +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
|
626133defa
|
be more forgiving of slow (or busy) hardware in test_transfer
|
2013-08-04 00:02:32 +00:00 |
Arvid Norberg
|
7d449b7d76
|
optimize test_transfer to fail faster
|
2013-08-03 23:44:03 +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
|
c0a0769aea
|
merged fix from RC_0_16
|
2013-08-02 01:25:52 +00:00 |
Arvid Norberg
|
990275d2dc
|
merge test_ssl fix from RC_0_16
|
2013-08-02 01:12:27 +00:00 |
Arvid Norberg
|
d72f0017b1
|
minor fixes
|
2013-08-01 16:15:02 +00:00 |
Arvid Norberg
|
93f9d4b3b0
|
test fixing
|
2013-08-01 08:03:11 +00:00 |
Arvid Norberg
|
09f29217ee
|
test fixes
|
2013-08-01 04:58:43 +00:00 |
Arvid Norberg
|
0acd1200f3
|
fixed test_transfer
|
2013-08-01 03:50:57 +00:00 |
Arvid Norberg
|
63cce14cf9
|
fix issue in previous patch to test_storage and optimized it a bit
|
2013-08-01 01:02:26 +00:00 |
Arvid Norberg
|
86ce8fbb0a
|
fix test_storage
|
2013-08-01 00:21:56 +00:00 |
Arvid Norberg
|
4a66d42bd4
|
test logging
|
2013-07-30 21:09:27 +00:00 |
Arvid Norberg
|
2da6b152d8
|
initialize random number generator for tests
|
2013-07-30 16:04:53 +00:00 |
Arvid Norberg
|
4ecccb6fea
|
fix test_ssl and test_transfer
|
2013-07-30 07:13:12 +00:00 |
Arvid Norberg
|
87ae3fd01a
|
more timestamps in test logs
|
2013-07-30 06:04:16 +00:00 |
Arvid Norberg
|
68db0038e5
|
test_ssl and test_transfer polish
|
2013-07-30 04:30:19 +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
|
7a0c4654a3
|
fix test_ssl for trunk, where tests are run in separate directories
|
2013-07-29 09:26:05 +00:00 |
Arvid Norberg
|
0465d6325d
|
merged test fix from RC_0_16
|
2013-07-29 08:20:16 +00:00 |
Arvid Norberg
|
e43407778d
|
merged fix from RC_0_16
|
2013-07-28 17:54:41 +00:00 |
Arvid Norberg
|
beae6cece0
|
merged ssl fix from RC_0_16
|
2013-07-28 15:06:28 +00:00 |
Arvid Norberg
|
d6ead7e605
|
fixed typos
|
2013-07-25 06:14:50 +00:00 |
Arvid Norberg
|
8a2279b546
|
fix test_checking for windows
|
2013-07-25 06:04:31 +00:00 |
Arvid Norberg
|
f5f868ba68
|
fix parse error in xml parser
|
2013-07-24 07:13:26 +00:00 |
Arvid Norberg
|
c0da76ac84
|
some windows fixes for unit tests
|
2013-07-23 07:32:38 +00:00 |
Arvid Norberg
|
80459b66dc
|
fix windows build of test_file_storage
|
2013-07-23 01:52:44 +00:00 |
Arvid Norberg
|
a6c662ec0a
|
fix SSL build of unit tests
|
2013-07-22 00:53:13 +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
|
facbf9c178
|
don't expose load_file as a public function
|
2013-07-19 21:41:33 +00:00 |
Arvid Norberg
|
9c9135bfc4
|
don't use pointers to resume_data and file_priorities in add_torrent_params
|
2013-07-17 20:21:48 +00:00 |
Arvid Norberg
|
1f2d22604c
|
add missing backslash in makefile
|
2013-06-30 18:52:49 +00:00 |
Arvid Norberg
|
410ef08e6a
|
fix test builds
|
2013-06-26 19:16:21 +00:00 |
Arvid Norberg
|
ee9523b8d1
|
test link issue on windows
|
2013-06-24 03:34:45 +00:00 |
Arvid Norberg
|
1523a196e5
|
fix fallocate issue when filesystem doesn't support it
|
2013-06-24 03:26:17 +00:00 |
Arvid Norberg
|
1252de8fe3
|
more linking issues
|
2013-06-23 22:36:07 +00:00 |
Arvid Norberg
|
54b05dd20a
|
fix test header issue
|
2013-06-23 21:25:38 +00:00 |
Arvid Norberg
|
981980190a
|
one more windows linking issue
|
2013-06-23 20:37:03 +00:00 |
Arvid Norberg
|
aa58f26985
|
fix dynamic linking of test library on windows
|
2013-06-23 17:36:00 +00:00 |
Arvid Norberg
|
d77e3cb59f
|
attempted fix for link issue
|
2013-06-23 08:14:18 +00:00 |
Arvid Norberg
|
465bbbf406
|
fix dht issue for platforms where char is unsigned. introduce assert
|
2013-06-23 08:07:39 +00:00 |
Arvid Norberg
|
56648ac39b
|
attempt at fixing link issue since moving unit test code into a shared library
|
2013-06-23 03:01:02 +00:00 |
Arvid Norberg
|
78da577e2b
|
big-endian fixes to test_primitives and more logging to track down error in test_dht
|
2013-06-23 01:22:44 +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
|
d05ce6c6a0
|
fix tests
|
2013-06-19 19:14:46 +00:00 |
Arvid Norberg
|
3b9fd38c22
|
fix build of test_storage without deprecated functions
|
2013-06-18 07:33:49 +00:00 |
Arvid Norberg
|
ff5526300d
|
fix test_rss for windows
|
2013-06-18 04:00:25 +00:00 |
Arvid Norberg
|
4a95b06316
|
remove test for removed function
|
2013-06-18 02:08:57 +00:00 |
Arvid Norberg
|
2c7d6a31cb
|
fix test_transfer when built without deprecated functions
|
2013-06-18 00:33:16 +00:00 |
Arvid Norberg
|
50ca25c08a
|
fix test_torrent_parse for windows
|
2013-06-17 15:56:58 +00:00 |
Arvid Norberg
|
ab07c8f041
|
some test fixes
|
2013-06-17 07:47:47 +00:00 |
Arvid Norberg
|
7a60f66df5
|
link fix for unit tests
|
2013-06-17 05:58:18 +00:00 |
Arvid Norberg
|
4d2f61a353
|
actually fix the windows build of tests
|
2013-06-17 05:50:53 +00:00 |
Arvid Norberg
|
0600639b79
|
fix linux issue in tests
|
2013-06-17 05:18:56 +00:00 |
Arvid Norberg
|
fa919d26e3
|
fix windows test build
|
2013-06-17 04:12:18 +00:00 |
Arvid Norberg
|
6fe61669cc
|
fix test_file_storage for windows
|
2013-06-17 02:10:45 +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
|
98b47c55c6
|
fix ipv6-off build
|
2013-06-16 00:59:29 +00:00 |
Arvid Norberg
|
9803b6a15f
|
fix build issue when asserts are disabled
|
2013-06-14 21:11:28 +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
|
3823b74586
|
merged test_privacy updates from RC_0_16
|
2013-06-13 06:32:13 +00:00 |
Arvid Norberg
|
971b979dbc
|
merged test from RC_0_16
|
2013-06-12 17:03:56 +00:00 |
Arvid Norberg
|
6bc908fd49
|
merged anonymous mode fix from RC_0_16
|
2013-06-12 07:57:13 +00:00 |
Arvid Norberg
|
8f3723cdef
|
support renaming files to absolute paths
|
2013-06-09 22:30:02 +00:00 |
Arvid Norberg
|
91f8c32937
|
stub for file_storage test
|
2013-06-08 23:37:11 +00:00 |
Arvid Norberg
|
c464dc2383
|
merged unit test from RC_0_16
|
2013-05-31 16:33:06 +00:00 |
Arvid Norberg
|
bdf0e1764b
|
merged fixes from RC_0_16
|
2013-05-11 22:00:54 +00:00 |
Arvid Norberg
|
01c8c8543b
|
fix typo in move_storage
|
2013-05-11 21:32:18 +00:00 |
Arvid Norberg
|
c773e67c6a
|
merged fix from RC_0_16
|
2013-05-11 17:10:57 +00:00 |
Arvid Norberg
|
90a2509d68
|
fix bug in recent move_storage patch
|
2013-05-10 02:18:14 +00:00 |
Arvid Norberg
|
982a14c2e9
|
extend move_storage functionality to have more flexible behavior
|
2013-05-09 02:50:16 +00:00 |
Arvid Norberg
|
0a8f81cfed
|
merge tracker exchange patch from RC_0_16
|
2013-04-27 22:54:58 +00:00 |
Arvid Norberg
|
246826ecb4
|
support arbitrarily long magnet URIs in make_magnet_uri
|
2013-04-27 22:35:06 +00:00 |
Arvid Norberg
|
dc226eab80
|
merged unit test for magnet links from RC_0_16
|
2013-04-27 20:48:29 +00:00 |
Arvid Norberg
|
df4fcaaeed
|
remove disable-dht build configuration from the public API (simplify linking)
|
2013-04-09 01:04:43 +00:00 |
Arvid Norberg
|
8ed2a526a7
|
fix test_rss build
|
2013-03-10 23:06:57 +00:00 |
Arvid Norberg
|
23ee02ccab
|
fix race condition fix from RC_0_16
|
2013-03-10 10:45:22 +00:00 |
Arvid Norberg
|
83f626c18e
|
fixed test_torrent_parse test
|
2013-03-05 00:32:57 +00:00 |
Arvid Norberg
|
431efc6157
|
merge storage fix from RC_0_16
|
2013-03-03 04:47:19 +00:00 |
Arvid Norberg
|
96c62bc4b8
|
merged fix from RC_0_16
|
2013-02-28 03:29:33 +00:00 |
Arvid Norberg
|
6ff833390e
|
extend ip_filter test to include some IPv6
|
2013-02-27 04:14:50 +00:00 |
Arvid Norberg
|
4241e279bd
|
more torrent parsing unit tests and fixing some previously broken by changes to parse_url_components
|
2013-02-26 07:32:53 +00:00 |
Arvid Norberg
|
ba6770ccd8
|
more torrent parsing unit tests
|
2013-02-26 05:57:29 +00:00 |
Arvid Norberg
|
a0caa0f4b2
|
disable invariant_check functions when invariant checks are disabled
|
2013-02-25 04:13:46 +00:00 |
Arvid Norberg
|
775cf5570a
|
improve unit test coverage and fix handling of some invalid .torrent files and invalid utf-8 sequences
|
2013-02-25 01:54:38 +00:00 |
Arvid Norberg
|
7b53dd0491
|
fixed utf-8 verification bug and filename collision resolver
|
2013-02-24 10:16:57 +00:00 |
Arvid Norberg
|
3599b130c0
|
expand unit tests
|
2013-02-24 10:02:26 +00:00 |
Arvid Norberg
|
cfa25b66e8
|
extend unit tests
|
2013-02-23 06:58:28 +00:00 |
Arvid Norberg
|
e45c71dd30
|
merged sparse file fix from RC_0_16
|
2013-02-16 08:26:55 +00:00 |
Arvid Norberg
|
733aafc245
|
merged unit test fixes from RC_0_16
|
2013-02-09 22:02:05 +00:00 |
Arvid Norberg
|
d63b82bb78
|
merged rename_file fix from RC_0_16
|
2013-02-09 21:50:22 +00:00 |
Arvid Norberg
|
4b3d8f5739
|
merged makefile fixes from RC_0_16
|
2013-02-09 20:29:40 +00:00 |
Arvid Norberg
|
d242761a78
|
merged unit test from RC_0_16
|
2013-02-06 18:51:42 +00:00 |
Arvid Norberg
|
b3b1180069
|
clean up uTP implementation by not using any timers
|
2013-02-06 04:38:30 +00:00 |
Arvid Norberg
|
09946aee26
|
merged fix from RC_0_16
|
2013-01-31 03:39:14 +00:00 |
Arvid Norberg
|
42ee2869b1
|
merged file priority fix from RC_0_16
|
2013-01-28 04:57:35 +00:00 |
Arvid Norberg
|
7223bf17e5
|
DHT memory optimization
|
2013-01-28 04:00:23 +00:00 |
Arvid Norberg
|
d6fecf4c34
|
make condition variable c++11 compatible
|
2013-01-21 22:52:34 +00:00 |
Arvid Norberg
|
b3ef6011aa
|
merged merkle torrent creation fix from RC_0_16
|
2013-01-21 07:33:48 +00:00 |
Arvid Norberg
|
a67640bddb
|
merged fix from RC_0_16
|
2013-01-20 19:35:47 +00:00 |
Arvid Norberg
|
002d69a9fc
|
fix non-logging build of dht test
|
2013-01-19 07:01:03 +00:00 |
Arvid Norberg
|
51e99ba3e5
|
extend DHT unit test and fix bug in routing_table bucket splitting
|
2013-01-18 06:17:30 +00:00 |
Arvid Norberg
|
7f4ca24f8b
|
merged fix from RC_0_16
|
2013-01-15 05:33:24 +00:00 |
Arvid Norberg
|
1be837c6e4
|
merged build fixes from RC_0_16
|
2013-01-07 04:13:45 +00:00 |
Arvid Norberg
|
640f3e1f2d
|
merge test_checking fix from RC_0_16
|
2013-01-07 00:55:15 +00:00 |
Arvid Norberg
|
72d4999ca4
|
fix test support for platforms not supporting IPv6
|
2013-01-06 22:41:56 +00:00 |
Arvid Norberg
|
5b638c3c9e
|
windows fix for ip-voter test
|
2013-01-06 19:53:17 +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
|
e45124fc22
|
back-port heavy weight refcount invariant checking from libtorrent_aio (disabled by default). and also backport piece-picker refcounting bug fix
|
2013-01-06 04:02:29 +00:00 |
Arvid Norberg
|
aab59d04c7
|
improve the external IP discovery to work with multiple external IPs (specifically IPv4 and IPv6)
|
2013-01-01 23:12:16 +00:00 |
Arvid Norberg
|
ac5a9e9882
|
introduce global connection priority for improved swarm performance
|
2012-12-31 06:54:54 +00:00 |
Arvid Norberg
|
7ad7d18ea7
|
debug output for test_http_connection
|
2012-12-17 06:22:37 +00:00 |
Arvid Norberg
|
205d70da3c
|
merged uTP fix from RC_0_16
|
2012-11-25 07:03:37 +00:00 |
Arvid Norberg
|
a649346b43
|
merged windows test build fix from libtorrent_aio
|
2012-10-20 22:02:31 +00:00 |
Arvid Norberg
|
8ba970018c
|
make bottled http requests response size limit configurable and bump default to 2 MiB
|
2012-10-19 01:28:47 +00:00 |
Arvid Norberg
|
6d7e9e4521
|
remove some iostream dependencies
|
2012-10-12 04:50:34 +00:00 |
Arvid Norberg
|
8f0d039b3c
|
merged proxy test change from RC_0_16
|
2012-10-11 02:20:16 +00:00 |
Arvid Norberg
|
971aea19e7
|
merged local service discovery logging from RC_0_16
|
2012-10-09 04:16:37 +00:00 |
Arvid Norberg
|
7640414cf2
|
merged dht fixes from libtorrent_aio
|
2012-09-23 03:49:04 +00:00 |
Arvid Norberg
|
f0e554d4db
|
merged unit test fix from libtorrent_aio
|
2012-09-22 23:01:15 +00:00 |
Arvid Norberg
|
2adfea3e3f
|
expand file test
|
2012-06-30 02:35:38 +00:00 |
Arvid Norberg
|
b14479132c
|
add unit test for some filesystem functions, like listing directories
|
2012-06-29 23:10:28 +00:00 |
Arvid Norberg
|
426f555ce0
|
improve and extend the upnp unit test
|
2012-06-28 06:47:59 +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
|
dbf6b0a02c
|
fix bandwidth limiter issue for incoming connections (not associated with a torrent)
|
2012-06-08 04:28:37 +00:00 |
Arvid Norberg
|
40284b2b99
|
update dht_sec definition
|
2012-06-07 16:29:20 +00:00 |
Arvid Norberg
|
c71c2ee3a5
|
fixed dht node-id unit test and update documentation
|
2012-06-06 17:06:46 +00:00 |
Arvid Norberg
|
42a5185f24
|
merged fix from RC_0_16
|
2012-06-05 05:55:40 +00:00 |
Arvid Norberg
|
f49bc42cae
|
added missing license headers
|
2012-06-04 06:30:45 +00:00 |
Arvid Norberg
|
49a1398fe5
|
update dht_sec specification and the dht code
|
2012-05-31 02:16:44 +00:00 |
Arvid Norberg
|
cc7ff1606c
|
add unit test for seed optimization in piece picker and make it reliable in the presence of dont-have messages
|
2012-05-14 04:48:23 +00:00 |
Arvid Norberg
|
10b64a7761
|
add all_set() function on bitfield and automatically call inc_refcount_all or dec_refcount_all if all bits are set in a bitfield
|
2012-05-02 18:55:58 +00:00 |
Arvid Norberg
|
ada35c021a
|
improved multiple bitfield and have_all/have_none unit test and fixed peer_connection accordingly
|
2012-05-02 18:03:12 +00:00 |
Arvid Norberg
|
7c62a124ed
|
added unit test for receiving multiple bitfield messages
|
2012-05-01 03:24:38 +00:00 |
Arvid Norberg
|
cec9a16cc1
|
back-ported observer for set_external_ip for DHT
|
2012-04-30 06:30:35 +00:00 |
Arvid Norberg
|
918dce1341
|
back-ported part of the alert_dispatcher patch for the DHT
|
2012-04-30 05:39:35 +00:00 |
Arvid Norberg
|
1c60ae4064
|
canonicalize paths when using UNC paths
|
2012-04-28 21:13:55 +00:00 |
Arvid Norberg
|
acff091cad
|
fix windows unit test build
|
2012-04-28 18:49:53 +00:00 |
Arvid Norberg
|
f7c6d9ce6c
|
make test_utp more likely to pass
|
2012-04-28 14:56:34 +00:00 |
Arvid Norberg
|
3cf7d0a7a2
|
make tests catch fatal signals and present a nice stack for the error
|
2012-04-21 05:54:49 +00:00 |
Arvid Norberg
|
de07505464
|
more asserts in piece_picker to validate peer pointers
|
2012-04-12 17:10:22 +00:00 |
Arvid Norberg
|
548bace889
|
merged changes from RC_0_16
|
2012-04-08 16:03:39 +00:00 |
Arvid Norberg
|
9024209d51
|
merged set_settings race condition fix into trunk
|
2012-04-06 03:02:50 +00:00 |
Arvid Norberg
|
6acde24799
|
merged SSL fix from RC_0_16
|
2012-04-05 04:17:19 +00:00 |
Arvid Norberg
|
21b51afd5f
|
merge windows fix from RC_0_16
|
2012-04-02 03:32:26 +00:00 |
Arvid Norberg
|
418c1e8190
|
make tracker back-off configurable
|
2012-03-29 03:51:22 +00:00 |
Arvid Norberg
|
2be6f990b4
|
add unit test for recent uTP fix
|
2012-03-25 05:40:00 +00:00 |
Arvid Norberg
|
4d60adcaa9
|
retry failed trackers a little bit sooner. make the exponential back-off not quite grow as fast
|
2012-03-24 15:15:36 +00:00 |
Arvid Norberg
|
6fcc469aef
|
support banning web seeds that send corrupt data
|
2012-03-24 01:29:31 +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
|
68cefe7d89
|
fixed bug in magnet link parser, and improved unit test
|
2012-03-21 16:27:50 +00:00 |
Arvid Norberg
|
26805c944c
|
converted use of deprecated functions in the tests
|
2012-03-19 04:02:13 +00:00 |
Arvid Norberg
|
cda69425f9
|
typo in dht test
|
2012-03-19 00:56:38 +00:00 |
Arvid Norberg
|
b1bb3fcc88
|
better support for dht test with no ipv6 support
|
2012-03-19 00:42:12 +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
|
8213814102
|
DHT fix
|
2012-03-17 19:27:57 +00:00 |
Arvid Norberg
|
af09935b87
|
some windows path fixes
|
2012-03-17 19:06:11 +00:00 |
Arvid Norberg
|
750801d25b
|
some more shared linking fixes
|
2012-03-15 17:17:10 +00:00 |
Arvid Norberg
|
64b599598c
|
minor fixes
|
2012-03-15 07:16:30 +00:00 |
Arvid Norberg
|
7b1a441aeb
|
attempt to make shared library builds to work with visibility=hidden
|
2012-03-15 06:08:08 +00:00 |
Arvid Norberg
|
341967dab7
|
improve magnet link support. in RSS feeds for instance. Parsing of magnet links was factored out and moved to the proper place, in session_impl::add_torrent
|
2012-03-08 09:54:44 +00:00 |
Arvid Norberg
|
98698380d9
|
added more diagnostics to test_tracker.cpp
|
2012-03-04 20:07:35 +00:00 |
Arvid Norberg
|
e3f484e78f
|
added unit test for unc paths on windows
|
2012-03-04 05:24:42 +00:00 |
Arvid Norberg
|
6144280fde
|
fix xml parser issue and the xml unit test
|
2012-02-27 07:02:11 +00:00 |
Arvid Norberg
|
8bb6635c94
|
improved rss unit test and fixed one incompatibility. added feature to save which feed items have been added, in order to not re-add them
|
2012-02-21 03:14:54 +00:00 |
Arvid Norberg
|
75fce84ce4
|
added unit test for RSS feeds and fixed a parsing bug
|
2012-02-20 07:51:36 +00:00 |
Arvid Norberg
|
065d75b02d
|
fix bug in file storage unit test, and the bug causing mapped files to not be restored correctly from resume files
|
2012-02-19 19:00:52 +00:00 |
Arvid Norberg
|
67b12dfb90
|
fixed off-by-one read error in xml-parser, and removed some unnecessary casts in the unit test
|
2012-02-18 09:54:49 +00:00 |
Arvid Norberg
|
5a23d04143
|
fix some clang warnings
|
2012-02-18 08:23:48 +00:00 |
Arvid Norberg
|
c384d00dbf
|
make bdecoder more robust when encountering errors (leave the resulting tree consistent)
|
2012-02-10 04:19:11 +00:00 |
Arvid Norberg
|
a9b6de413a
|
fix test_fast_extensions
|
2012-02-09 06:17:48 +00:00 |
Arvid Norberg
|
7f3aac3959
|
fix issue with unchoke_slots_limit not preserving its value correctly
|
2011-12-19 05:53:11 +00:00 |
Arvid Norberg
|
413c04abcf
|
fixed windows network path recognition issue
|
2011-11-27 10:23:50 +00:00 |
Arvid Norberg
|
c279870516
|
add web seed support for torrents with pad files
|
2011-11-26 20:48:31 +00:00 |
Arvid Norberg
|
12d94246df
|
improve test error messages
|
2011-11-25 22:50:43 +00:00 |
Arvid Norberg
|
f234cf71d8
|
test update
|
2011-11-19 06:36:44 +00:00 |
Arvid Norberg
|
4d49d0f20d
|
windows storage fixes
|
2011-11-13 04:12:56 +00:00 |
Arvid Norberg
|
0f6b34c260
|
fixed unit test
|
2011-10-30 03:51:55 +00:00 |
Arvid Norberg
|
167fc021ac
|
fix unit test
|
2011-10-29 08:59:36 +00:00 |
Arvid Norberg
|
2741563711
|
set alert_mask early
|
2011-10-08 09:52:36 +00:00 |
Arvid Norberg
|
ba69b6ab15
|
convert test_pe_crypto to use stdio instead of iostream
|
2011-10-04 04:47:53 +00:00 |