Commit Graph

183 Commits

Author SHA1 Message Date
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 b431ef7836 use crc32 for node ID restriction scheme 2013-08-19 05:24:35 +00:00
Arvid Norberg 5141a6505a merged url escaping fix from RC_0_16 2013-08-16 16:38:09 +00:00
Arvid Norberg 75ba9333e6 fix test_primitives build 2013-08-05 06:35:04 +00:00
Arvid Norberg 09f29217ee test fixes 2013-08-01 04:58:43 +00:00
Arvid Norberg 410ef08e6a fix test builds 2013-06-26 19:16:21 +00:00
Arvid Norberg aa58f26985 fix dynamic linking of test library on windows 2013-06-23 17:36:00 +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 4a95b06316 remove test for removed function 2013-06-18 02:08:57 +00:00
Arvid Norberg 98b47c55c6 fix ipv6-off build 2013-06-16 00:59:29 +00:00
Arvid Norberg c773e67c6a merged fix from RC_0_16 2013-05-11 17:10:57 +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 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 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 7223bf17e5 DHT memory optimization 2013-01-28 04:00:23 +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 5b638c3c9e windows fix for ip-voter test 2013-01-06 19:53:17 +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 205d70da3c merged uTP fix from RC_0_16 2012-11-25 07:03: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 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 49a1398fe5 update dht_sec specification and the dht code 2012-05-31 02:16:44 +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 1c60ae4064 canonicalize paths when using UNC paths 2012-04-28 21:13:55 +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 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 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 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 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 c384d00dbf make bdecoder more robust when encountering errors (leave the resulting tree consistent) 2012-02-10 04:19:11 +00:00
Arvid Norberg 413c04abcf fixed windows network path recognition issue 2011-11-27 10:23:50 +00:00
Arvid Norberg 2741563711 set alert_mask early 2011-10-08 09:52:36 +00:00
Arvid Norberg 9a22b1bf6d fix unit test 2011-08-07 07:37:02 +00:00
Arvid Norberg cfbd5bfc4b extend magnet URI unit test 2011-05-25 16:26:39 +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 0d300cd09a fixed test build and some clang warnings 2011-03-09 07:51:04 +00:00
Arvid Norberg ba0aed2282 initial support for DHT RSS feeds 2011-01-19 05:57:44 +00:00
Arvid Norberg eec2672d26 fixed up some edge cases in DHT routing table and improved unit test of it. Primarily fixed issues where an IP could take over someone elses node ID and where an IP would change its node ID 2011-01-17 07:49:44 +00:00
Arvid Norberg dccd029069 fix test 2011-01-08 09:04:05 +00:00
Arvid Norberg ee7c713af7 support chunked encoding in http downloads (http_connection) 2011-01-06 04:08:57 +00:00
Arvid Norberg 00efc31bf6 various smaller fixes 2010-12-30 03:46:11 +00:00
Arvid Norberg 451c583023 more robust mechanism to determine external IP 2010-12-24 01:31:41 +00:00
Arvid Norberg 1e82df3e45 support partial hash DHT lookups 2010-12-06 06:39:16 +00:00
Arvid Norberg e5f980d80d merged uTP branch into trunk (yay) 2010-11-29 01:33:05 +00:00
Arvid Norberg fa80c95d62 unit test for parsing IPv6 urls with port 2010-11-27 02:08:10 +00:00
Arvid Norberg 02e15202f2 support dht nodes in magnet links 2010-11-07 19:18:16 +00:00
Arvid Norberg 0ef5d25d46 support 100 Continue HTTP responses 2010-10-29 07:56:07 +00:00
Arvid Norberg fc1b44b560 improve error reporting of lazy_bdecode to use error_code 2010-10-28 04:01:59 +00:00
Arvid Norberg d737dd051d added support for chunked encoding for web seeds 2010-10-27 06:39:18 +00:00
Arvid Norberg 3b550ece98 don't save settings that are set to the default value 2010-10-10 02:22:57 +00:00
Arvid Norberg 7ac4668948 more vs10 build fixes 2010-05-02 05:53:41 +00:00
Arvid Norberg eceabd7d2f fixed escape string tests 2010-03-30 18:29:17 +00:00
Arvid Norberg 8fa2f26217 fixed bug in is_complete for windows 2010-03-21 17:40:15 +00:00
Arvid Norberg 53acf4349e made some tests rely less on deprecated functions 2010-03-05 06:27:23 +00:00
Arvid Norberg 77c0fa5872 support multiple trackers in magnet links 2010-03-01 06:46:57 +00:00
Arvid Norberg 64d52b26ca fixed windows upnp test. added test for is_space 2010-01-24 17:31:06 +00:00
Arvid Norberg 11cd7af4e7 optimized DHT routing table memory usage 2010-01-03 11:08:39 +00:00
Arvid Norberg 96cedc9b5f more beos fixes 2009-12-15 13:11:07 +00:00
Arvid Norberg df928764e2 reorganized error codes 2009-12-05 23:03:48 +00:00
Arvid Norberg 1d04c4dcd0 added session saving and loading functions 2009-12-03 05:11:57 +00:00
Arvid Norberg bd881ac154 fixed more link issues on windows. examples build with shared linking on windows 2009-12-02 17:46:25 +00:00
Arvid Norberg d78af0d171 make tests build without IPv6 support 2009-11-27 21:41:24 +00:00
Arvid Norberg 6343fe6a6d optimized header dependencies to lower build time 2009-11-23 08:38:50 +00:00
Arvid Norberg 8fdeeb0497 don't replace invalid path characters in non-path strings 2009-11-13 02:50:07 +00:00
Arvid Norberg e9320371b8 fixed filename function 2009-11-02 04:08:37 +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 f36688a364 initial support for torrent tag store in DHT 2009-09-27 03:38:41 +00:00
Arvid Norberg 1017a716ef fix unit test 2009-09-27 01:33:36 +00:00
Arvid Norberg 31d63ee5be replaces invalid filename characters with . and fixed the http_parser unit test in 0.14 2009-09-09 17:56:25 +00:00
Arvid Norberg c7b1d7e7d6 escape string fixes 2009-09-05 01:08:56 +00:00
Arvid Norberg 8c4cf8bffa fixed unit test for http_parser 2009-08-25 18:12:43 +00:00
Arvid Norberg 310b9d0e51 windows build fixes (and one msvc warning fix) 2009-07-20 01:54:51 +00:00
Arvid Norberg 10eb3fa00f handle torrents with duplicate filenames 2009-06-26 16:20:57 +00:00
Arvid Norberg 5ce7aed078 encodes urls in torrent files that needs to be encoded 2009-06-19 18:18:49 +00:00
Arvid Norberg 07bcb3545a converted a whole lot of error strings into error_codes. Documented some previously undocumented alerts as well as all the error codes 2009-06-12 16:40:38 +00:00
Arvid Norberg eb2203abf5 fixed torrent file path vulnerability 2009-05-28 07:25:09 +00:00
Arvid Norberg 242967a64d test fixes 2009-04-30 01:44:50 +00:00
Arvid Norberg f7ebd88bec fixed an accuracy issue with timer classes on mac 2009-04-25 21:51:34 +00:00
Arvid Norberg 189d618261 improved IPv6 support (skips unsupported tests on windows) 2009-04-13 05:11:44 +00:00
Arvid Norberg 9b226daede test to try to reproduce multiple connections to the same IPv6 address 2009-04-13 05:08:47 +00:00
Arvid Norberg 91065d7a08 added unit tests for identify_client. replaced iostream for rendering. renamed 'Deluge Torrent' -> 'Deluge' 2009-04-12 18:46:07 +00:00
Arvid Norberg 066d6ce799 moved content-range parsing into http_parser and added unittest 2009-04-12 17:52:25 +00:00
Arvid Norberg 90ce06bb47 web seed fix 2009-04-11 20:45:14 +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