Commit Graph

605 Commits

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