Commit Graph

581 Commits

Author SHA1 Message Date
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
Arvid Norberg 09017ed28e fix unit test 2011-09-26 04:05:36 +00:00
Arvid Norberg 5ae23f5800 add unit test to make sure the next tier is tried in the tracker list when the one ahead of it fails 2011-09-25 23:29:23 +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 9a2fb2739c fix test_fast_extension 2011-09-15 09:44:07 +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 1c5399b736 piece picker optimization 2011-08-16 06:30:53 +00:00
Arvid Norberg 88441e4fdc another attempt at optimizing piece picker 2011-08-14 23:16:12 +00:00
Arvid Norberg 9a22b1bf6d fix unit test 2011-08-07 07:37:02 +00:00
Arvid Norberg 060b849dda factor encryption handler a bit and add proposal for an authentication extension 2011-06-18 16:58:36 +00:00
Arvid Norberg cfbd5bfc4b extend magnet URI unit test 2011-05-25 16:26:39 +00:00
Arvid Norberg 2bb53ce6e8 fix non-openssl builds and improved error messages for mutable puts 2011-05-25 02:41:48 +00:00
Arvid Norberg 6fa1827c39 add support for mutable put/get functions in DHT 2011-05-25 02:26:07 +00:00
Arvid Norberg 5bbbf0cd41 add rsa sign and verification functions for future DHT extensions 2011-05-23 23:42:52 +00:00
Arvid Norberg 6830eb10a9 remove old search code from DHT. modify announce-item to fit with more recent proposal of get/put. Only immutable entries for now 2011-05-23 05:07:52 +00:00
Arvid Norberg 58d723012a support DHT scrape 2011-05-23 00:45:36 +00:00
Arvid Norberg 6f127dd07b fixed build with no deprecated functions 2011-05-01 19:28:13 +00:00
Arvid Norberg a9cc2101c6 fixed bug with setting and getting file priorities 2011-05-01 17:43:15 +00:00
Arvid Norberg c8434f56eb extend the metadata unit test to make sure the metadata is forwarded to a 3rd peer 2011-04-29 02:46:05 +00:00
Arvid Norberg cb3371dd7f print even less in test_web_seed 2011-04-10 01:36:07 +00:00
Arvid Norberg ad2f4d1697 print less in test_swarm.cpp 2011-04-10 00:41:16 +00:00
Arvid Norberg 6903e0495e don't print so much in test_web_seed 2011-04-10 00:26:37 +00:00
Arvid Norberg 42863ca022 import testing framework in Jamfile 2011-04-09 23:50:33 +00:00
Arvid Norberg 7e3ccba939 don't log stats alerts in web seed unit test 2011-04-02 20:07:18 +00:00
Arvid Norberg 7e07f7469f fixed bug in web_connection_base when receiving chunked encoding and made sure the unit tests pass 2011-03-24 16:46:26 +00:00
Arvid Norberg 929c31a757 fix pex unit test and shave off a few seconds for pex 2011-03-24 03:34:06 +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 0d300cd09a fixed test build and some clang warnings 2011-03-09 07:51:04 +00:00
Arvid Norberg 83e8700615 minor fixes 2011-03-01 21:57:03 +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 3c05e81529 support for receiving multi announce messages for local peer discovery 2011-02-16 07:41:44 +00:00
Arvid Norberg d73f4f0c92 improve print-out of fast extension test 2011-02-13 03:16:53 +00:00