Commit Graph

2292 Commits

Author SHA1 Message Date
Arvid Norberg 375ce91248 fix integer overflow issue in timers 2013-11-01 09:13:14 +00:00
Arvid Norberg 4459fd89f7 merged i2p fix from RC_0_16 2013-10-28 02:41:54 +00:00
Arvid Norberg aa4064316e add info_hash to torrent_delete_failed_alert 2013-10-27 23:39:24 +00:00
Arvid Norberg cbe3a72a6e merged i2p fix from RC_0_16 2013-10-27 19:56:37 +00:00
Arvid Norberg 1d55894bef improve obfuscated get_peers 2013-10-26 22:59:55 +00:00
Arvid Norberg 0158710f5c break out bdecode errors into its own category 2013-10-22 23:57:12 +00:00
Arvid Norberg 4e94ae592c clean up lazy bdecoder a bit 2013-10-22 22:41:58 +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 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 416d064489 optimize some invariant checks and make test_utp shorted, to complete much faster 2013-10-20 06:03:23 +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 01c42720e1 fix some deprecation issues (use interfa) 2013-10-14 02:25:21 +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 2b7897700d fix deprecation warning 2013-10-07 07:45:36 +00:00
Arvid Norberg e4c805c988 include socket type in listen_failed_alert and listen_succeeded_alert 2013-10-06 06:32:33 +00:00
Arvid Norberg a5494f2984 fix python binding build with shared linking 2013-10-06 01:30:39 +00:00
Arvid Norberg cf399a8b02 compact chained_buffer::buffer_t 2013-10-05 04:49:00 +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 d669d94f88 fix python binding with shared linking 2013-10-04 15:45:47 +00:00
Arvid Norberg 9d02b478a6 fix invalid read passed the allocation of peer_info in web_seed_entry 2013-10-04 04:20:50 +00:00
Arvid Norberg 620ae01862 fix annoying deprecation warning 2013-10-03 15:45:37 +00:00
Arvid Norberg 79a29d2bb0 fix valgrind build with stats logging enabled 2013-10-03 15:39:19 +00:00
Arvid Norberg 4ac3d286a5 back port check to not destruct session_impl from its own thread 2013-09-29 19:37:57 +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 93cd697d8f fix link error of test_dht 2013-09-17 08:46:50 +00:00
Arvid Norberg 908e29957e include error code in metadata failure alert 2013-09-14 10:09:30 +00:00
Arvid Norberg f1f89123e8 don't count pad-files as partial download pieces in the piece picker. prioritize which immutable dht items to keep also based on distance from our ID. remove some todo comments that probably should not be done 2013-09-14 10:08:31 +00:00
Arvid Norberg 1aa47fc13e add more utp statistics and make the congestion controller less aggressive when the up-link is not saturated 2013-09-14 10:06:48 +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 42ae69979f restore commented out function 2013-09-09 06:12:08 +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 288f203a92 fix missed function call in previous check-in 2013-09-06 05:44:38 +00:00
Arvid Norberg b28810a92e documented bitfield 2013-09-06 02:29:21 +00:00
Arvid Norberg 56f1fb42d8 fix ssl_stream typo 2013-09-03 18:14:17 +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 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 f3684db153 added some documentation 2013-09-01 17:34:05 +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 3afe6c23a0 merged tracker key patch from RC_0_16 2013-08-31 21:06:43 +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 6a47271667 merge fix for deleting files from libtorrent_aio 2013-08-22 05:27:45 +00:00
Arvid Norberg 0f57615ea3 attempt at fixing shut-down hang 2013-08-21 15:55:24 +00:00
Arvid Norberg d5c715bf96 added missing asio-debugging mark-up 2013-08-21 15:41:19 +00:00
Arvid Norberg 919bc46422 fix key length issue 2013-08-19 08:07:54 +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