Commit Graph

4655 Commits

Author SHA1 Message Date
Arvid Norberg 4ac670de5c remove outdated todo comment 2014-01-20 05:41:24 +00:00
Arvid Norberg e616b5b38e back-port allocator patch from libtorrent_aio to make the buffer debugging code generic and platform-independent 2014-01-20 03:55:24 +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 702b68ecc4 clean up assert related defines and debuf-only fields less error-prone. fix missing initialization in file_pool caused by mistake in defines under which the debug field was initialized 2014-01-19 19:45:50 +00:00
Arvid Norberg a5b5cf0f62 ignore unused parts of the internet on the DHT by default 2014-01-19 07:44:16 +00:00
Arvid Norberg bec02dd953 fix valgrind build 2014-01-19 04:13:46 +00:00
Arvid Norberg 11038aeecb attempt to speed up client_test's loading of torrents 2014-01-19 04:11:49 +00:00
Arvid Norberg 13b1628f7a fix memory leak in uTP 2014-01-18 08:15:13 +00:00
Arvid Norberg b283d58899 fix some uninitialized members 2014-01-18 06:53:47 +00:00
Arvid Norberg 20184a9a22 another rate limiter optimization attempt 2014-01-17 07:48:38 +00:00
Arvid Norberg 4a7543bdb8 remove a DHT observer right away when the response has an invalid node ID 2014-01-17 05:16:37 +00:00
Arvid Norberg b621f3f00a merged DHT fix from RC_0_16 2014-01-17 04:49:04 +00:00
Arvid Norberg 36889a1524 asserts and logging in SSL test 2014-01-17 01:00:49 +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 b63cdcb991 fix build without asserts 2014-01-08 05:45:13 +00:00
Arvid Norberg 90ef2cb343 non-auto-managed torrents no longer count against the torrent limits 2014-01-08 03:51:55 +00:00
Arvid Norberg 89d5582560 merged dht fix from RC_0_16 2014-01-07 08:52:53 +00:00
Arvid Norberg 89cbe57b93 fix mutex issue introduced in recent patch 2014-01-06 08:03:05 +00:00
Arvid Norberg f1e8d09126 fix mutex issue introduced in recent patch 2014-01-06 07:59:47 +00:00
Arvid Norberg ae7bb20170 update node ID generation algorithm from RC_0_16 2014-01-06 05:46:46 +00:00
Arvid Norberg 16594d27ef fix build with allocator debugging 2014-01-06 05:45:36 +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 db6a22d5c1 handle DHT error responses correctly 2014-01-03 08:02:53 +00:00
Arvid Norberg 54bbd3cae0 support salt feature in DHT put 2014-01-03 04:18:46 +00:00
Arvid Norberg f26df6cbfa allow force_announce to only affect a single tracker 2014-01-02 02:16:31 +00:00
Arvid Norberg 31e6d54ad2 torrent_handle::torrent_file returns a const torrent_info pointer 2014-01-01 21:24:15 +00:00
Arvid Norberg dc2243c17e add moving_storage field to torrent_status 2014-01-01 02:04:26 +00:00
Arvid Norberg 53a62344ca fix port mapping functions in session 2013-12-31 22:24:56 +00:00
Arvid Norberg 3858025c3c expose UPnP and NAT-PMP mapping in session object 2013-12-31 20:42:37 +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 5b46be916b merged storage fix from RC_0_16 2013-12-30 02:50:29 +00:00
Arvid Norberg 93e7c42c7b merged typo fix from RC_0_16 2013-12-29 20:26:17 +00:00
Arvid Norberg de6a715092 merged uTP fixes from RC_0_16 2013-12-29 19:35:39 +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 c9bfa1279e fix lazy_bdecode build 2013-12-26 18:43:48 +00:00
Arvid Norberg 4e6b1cfbfb update copyright 2013-12-25 17:07:16 +00:00
Arvid Norberg 444223c2e3 merged fixes from RC_0_16 2013-12-23 01:40:05 +00:00
Arvid Norberg 11a584991b fix bug in dht logging build 2013-12-21 09:22:10 +00:00
Arvid Norberg 70735a0a67 minor ifdef tweaks and DHT logging 2013-12-21 07:18:49 +00:00
Arvid Norberg 603eea7e60 fix one more ifdef issue 2013-12-21 05:59:26 +00:00
Arvid Norberg be8c918158 fix TORRENT_DISABLE_EXTENSIONS issues (specifically when enabling it) 2013-12-20 08:35:29 +00:00
Arvid Norberg 4170b3adac fix verbose logging build 2013-12-20 06:43:57 +00:00
Arvid Norberg 5d822706e1 add invariant check to dht routing_table 2013-12-20 04:54:52 +00:00
Arvid Norberg ce99fd47f2 enable all DHT logging (when building with dht logging enabled) 2013-12-20 04:54:27 +00:00
Arvid Norberg 412842365a add backwards compatible reading of IP field in DHT messages 2013-12-20 04:47:41 +00:00
Arvid Norberg a85cdb2d1a abbreviate long strings when printing lazy_entries on a single line 2013-12-20 04:40:00 +00:00
Arvid Norberg df3204874d clean up entry::print 2013-12-19 08:30:17 +00:00
Arvid Norberg 4b81b3f90b move some defines from headers to cpp files (to improve ABI stability). add some documentation. regenerate html. minor fixes to documentation script 2013-12-19 05:35:47 +00:00
Arvid Norberg d0d92a207e disable invariant check when TORRENT_DISABLE_INVARIANT_CHECKS is defined 2013-12-18 07:15:16 +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 93d7d89ced fix issue with obfuscated_get_peers where peers in responses to obfuscated requests would still be returned. slight refactoring to move traversal algorithm level logic to traversal_observer class 2013-12-14 23:25:38 +00:00
Arvid Norberg 396e5bbb37 fixed missing case in save_struct 2013-12-09 08:00:21 +00:00
Arvid Norberg 4f189e921d mark some expensive parts of invariant checks as expensive and disabled by default. introduce undead_peers to destruct all peer_connections in the network thread. they hang around while waiting for all outstanding disk jobs to complete. make the asio-debugging output a bit prettier 2013-12-05 07:42:32 +00:00
Arvid Norberg 88e4e0a97b strip trailing dots and spaces in filenames 2013-12-05 07:40:57 +00:00
Arvid Norberg 9c761f6777 fix bug in load/save settings (introduced by altering pe_settings layout) 2013-12-03 09:10:16 +00:00
Arvid Norberg a05103154b remove debug logging to print field offsets and struct sizes 2013-12-02 10:00:03 +00:00
Arvid Norberg 356332a93b make comparison function strict weak ordering 2013-12-02 09:39:17 +00:00
Arvid Norberg e0f3c7f6d0 comments 2013-12-02 09:30:19 +00:00
Arvid Norberg faa53d7657 member re-order and struct packing 2013-12-02 04:24:10 +00:00
Arvid Norberg d9dca62f1e fix verbose logging build 2013-11-29 22:53:17 +00:00
Arvid Norberg f382876832 fix debug buffer build. add new Jamfile feature for it. attempt to make it build on windows 2013-11-29 09:41:53 +00:00
Arvid Norberg c08d3ef5db fix build 2013-11-29 05:37:52 +00:00
Arvid Norberg cd5af8897a a bunch of documentation fixes 2013-11-29 05:29:39 +00:00
Arvid Norberg f11959b235 fix initialization order warnings 2013-11-28 08:48:17 +00:00
Arvid Norberg fb555cb558 fix utf8 build error 2013-11-28 08:41:35 +00:00
Arvid Norberg 382d582407 more documentation 2013-11-27 20:09:44 +00:00
Arvid Norberg 65fe1b1212 android support 2013-11-27 16:58:02 +00:00
Arvid Norberg fc2fc8dfb2 fix initialization order warnings. pack peer_connection and torrent 2013-11-26 07:47:48 +00:00
Arvid Norberg e122678d04 pack fields in internal_file_entry, torrent_status and chained_buffer 2013-11-26 04:39:33 +00:00
Arvid Norberg d03d50b6a8 reorder some more fields to reduce padding 2013-11-26 02:23:33 +00:00
Arvid Norberg 629baa3622 reorder some structs to reduce padding 2013-11-26 02:00:02 +00:00
Arvid Norberg 311ef5d3a4 merged auto-manage fix from RC_0_16 2013-11-24 09:03:22 +00:00
Arvid Norberg d64d12e50d merge test_read_piece from RC_0_16 2013-11-24 01:32:51 +00:00
Arvid Norberg 0868383007 merged include file fix from RC_0_16 2013-11-23 20:01:57 +00:00
Arvid Norberg f9d3571915 merged fix from RC_0_16 2013-11-23 11:06:35 +00:00
Arvid Norberg c384bd5c92 merged non-sparse file_size bug on windows from RC_0_16 2013-11-20 08:06:33 +00:00
Arvid Norberg d736b158a0 fix udp_socket proxy issue 2013-11-20 01:19:42 +00:00
Arvid Norberg d120dc1bc4 documentation 2013-11-19 17:57:16 +00:00
Arvid Norberg aba8704313 fix logging build 2013-11-18 07:05:56 +00:00
Arvid Norberg bcb703b9a3 improve duplicate file detection in torrent files 2013-11-18 06:59:47 +00:00
Arvid Norberg 1be2b6dc1a some errors cause asio to throw exceptions instead of returning the error in the passed in error_code&. catch the one in udp_socket 2013-11-17 23:06:51 +00:00
Arvid Norberg fe414878b2 cleanup of ABI breaking configuration options. TORRENT_DEBUG is believed to no longer affect the ABI of libtorrent. introduce a warning in gen_reference_doc.py for when defines are used in public structs. fix build with deprecated functions off 2013-11-17 22:38:37 +00:00
Arvid Norberg 907e7b7415 make TORRENT_DEBUG macro not affect ABI of entry class (bencoding) 2013-11-17 20:37:55 +00:00
Arvid Norberg 06678f0d3c removed old left-over defines 2013-11-17 18:54:54 +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 8f2683fe5d improve routing_table::depth() performance 2013-11-13 02:17:33 +00:00
Arvid Norberg fde0d6994d fix build with encryption disabled 2013-11-10 11:05:11 +00:00
Arvid Norberg 5284de9d80 minor invariant check tweak 2013-11-10 10:49:57 +00:00
Arvid Norberg 4521b8c902 fix checking issue with most pieces set to priority 0 2013-11-10 08:00:53 +00:00
Arvid Norberg 6136776097 merged fix from RC_0_16 2013-11-09 06:51:11 +00:00
Arvid Norberg ad86431caf merged large file fix from RC_0_16 2013-11-08 08:10:22 +00:00
Arvid Norberg dafa812109 merged fixes from RC_0_16 2013-11-08 07:23:36 +00:00
Arvid Norberg ea0aa72cce fix resume data bug introduced when deprecating the iterators from file_storage 2013-11-07 06:54:56 +00:00
Arvid Norberg 4ac6264487 merged create_torrent fix from RC_0_16 2013-11-07 05:17:09 +00:00
Arvid Norberg 4f11258d36 improve alert errors for peer alerts 2013-11-05 01:30:29 +00:00
Arvid Norberg c147caca0d fix ssl issue in web_server.py 2013-11-04 10:06:14 +00:00
Arvid Norberg 236acfce27 merged completed-on fix from RC_0_16 2013-11-04 01:32:16 +00:00
Arvid Norberg b4aad2a481 move web_server for unit tests over to python 2013-11-03 08:15:51 +00:00
Arvid Norberg 5812e8415d merged fix from RC_0_16 2013-11-02 23:08:26 +00:00
Arvid Norberg 0f298dbe88 make the definition of routing table depth a bit more reliaxed in the DHT 2013-11-02 16:07:47 +00:00
Arvid Norberg b911129a12 merged fixes from RC_0_16 2013-11-02 03:35:45 +00:00
Arvid Norberg 90e7a4c9e3 merged some rate limiter polish from libtorrent_aio 2013-11-02 03:26:53 +00:00
Arvid Norberg dde078cdf7 fix ambiguity invoking min 2013-11-01 23:13:53 +00:00
Arvid Norberg 375ce91248 fix integer overflow issue in timers 2013-11-01 09:13:14 +00:00
Arvid Norberg b9293058bd merged fixes from RC_0_16 2013-11-01 09:05:41 +00:00
Arvid Norberg aef04aca5b merged move_storage fix from RC_0_16 2013-10-28 05:07:55 +00:00
Arvid Norberg 4459fd89f7 merged i2p fix from RC_0_16 2013-10-28 02:41:54 +00:00
Arvid Norberg 146fee37e9 merged fix from RC_0_16 2013-10-27 23:56:45 +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 9e610dca46 increase the default session tick interval 2013-10-26 00:39:47 +00:00
Arvid Norberg c94ed806db merged fix from RC_0_16 2013-10-24 07:22:44 +00:00
Arvid Norberg af6dbc5d79 attempted fix for a crash in peer ranking 2013-10-23 06:45:23 +00:00
Arvid Norberg 4b1d9cb760 make lazy_bdecode a bit more self-contained 2013-10-23 05:19:52 +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 83960d287d fix test_pex 2013-10-22 07:53:36 +00:00
Arvid Norberg dd55082321 fixed typo in dht put signature parsing 2013-10-22 07:12:31 +00:00
Arvid Norberg e7215076ca merged fix from RC_0_16 2013-10-22 06:59:54 +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 02a337ceae merged minor fix from RC_0_16 2013-10-21 01:40:42 +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 5ae074994d revert a bad optimization from peer_connection's invariant check 2013-10-20 07:10:09 +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 a8ac369584 fixed uninitialized variable in http_parser (introduced with web seeding improvements) 2013-10-20 04:58:36 +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 17d276e060 move dht_flood.py into tools. only reveal 3 bits passed the shared target prefix when doing obfuscated dht lookups 2013-10-16 23:19:18 +00:00
Arvid Norberg 8fe1dc5754 fix valgrind build 2013-10-16 16:55:09 +00:00
Arvid Norberg 49502ed824 more valgrind instrumentation 2013-10-16 08:29:12 +00:00
Arvid Norberg 33ced8c0ec lower dht rate limit to 20 kB in high performance seed 2013-10-14 19:04:30 +00:00
Arvid Norberg 5388f0af74 improve valgrind runs of test_dht 2013-10-14 07:43:18 +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 b7ae64fd1f don't try to fill send buffers after the torrent has started to shut down 2013-10-13 18:50:07 +00:00
Arvid Norberg fb60de086b merge some cleanup and fixes from libtorrent_aio 2013-10-12 06:03:19 +00:00
Arvid Norberg 3b882a35de fix hang in unit test caused by disabling the DHT 2013-10-10 09:08:56 +00:00
Arvid Norberg 5eb5057a52 merged ipv6 fix from RC_0_16 2013-10-08 09:30:33 +00:00
Arvid Norberg c137e79e34 merge IPv6 fix from RC_0_16 2013-10-08 05:11:29 +00:00
Arvid Norberg 2b7897700d fix deprecation warning 2013-10-07 07:45:36 +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 7adbeae273 some piece picker asserts and cleanup 2013-10-06 17:00:07 +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 f2e3e613b2 merged dht fix from libtorrent_aio 2013-10-06 01:48:57 +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 9d02b478a6 fix invalid read passed the allocation of peer_info in web_seed_entry 2013-10-04 04:20:50 +00:00
Arvid Norberg 0a230d4b25 fix utp counter initialization 2013-10-04 03:49:04 +00:00
Arvid Norberg 79a29d2bb0 fix valgrind build with stats logging enabled 2013-10-03 15:39:19 +00:00
Arvid Norberg 8e4f567ae4 fix valgrind build 2013-10-03 08:24:57 +00:00
Arvid Norberg 676c2c5649 fix valgrind build 2013-10-03 06:47:28 +00:00
Arvid Norberg fdaffc5f1a merged web seeding fix from RC_0_16 2013-10-03 01:40:34 +00:00
Arvid Norberg 64b563fd06 attempt to trigger valgrind errors earlier 2013-10-02 21:51:30 +00:00
Arvid Norberg 8838289d2e fix test link issue. highlight valgrind errors in test log parsing 2013-10-01 19:37:17 +00:00
Arvid Norberg 422251ad3d merged change from RC_0_16 2013-10-01 17:35:39 +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 ddfd485425 merged identify client patch from RC_0_16 2013-09-26 00:30:14 +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 7ce6425534 merged removing assert from RC_0_16 2013-09-25 07:31:04 +00:00
Arvid Norberg 97c69cb041 merged IPv6 fix from RC_0_16 2013-09-25 06:50:08 +00:00
Arvid Norberg 52613b312c don't buffer incoming uTP packets indefinitely 2013-09-25 01:37:12 +00:00
Arvid Norberg adc4280f50 merged mingw build fixes from RC_0_16 2013-09-22 19:19:45 +00:00
Arvid Norberg 86864b0a0c merged todo comment from RC_0_16 2013-09-18 18:48:01 +00:00
Arvid Norberg b754e5391a merge max allowed outstanding piece requests from peers from RC_0_16 2013-09-18 06:50:49 +00:00
Arvid Norberg 3d6145f713 resolve duplicate torrents by URL as well (by linear scan) 2013-09-15 12:29:09 +00:00
Arvid Norberg b81dbc4669 fix stats logging 2013-09-15 05:14:03 +00:00
Arvid Norberg 4ec97bfaaa make verbose dht logging work again 2013-09-14 22:00:41 +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 2df72d276e when evicting peers waiting to establish connection, evict the ones that have been trying for the longest first 2013-09-14 21:47:31 +00:00
Arvid Norberg a386d8aca0 merged build fix without exceptions from RC_0_16 2013-09-14 10:26:55 +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 84fcc0baf0 merged utp fix from RC_0_16 2013-09-12 11:28:54 +00:00
Arvid Norberg f2e16c36b3 merged fix from RC_0_16 2013-09-12 07:10:52 +00:00
Arvid Norberg 955c369168 fix backwards compatibility with tracker_url and async_add_torrent 2013-09-10 23:35:37 +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 b94f3d8b9a fix build with old asio (boost-1.42 era) 2013-09-09 07:07:09 +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 dcb5cd0e56 merge memory allocation fix from RC_0_16 2013-09-05 07:14:42 +00:00
Arvid Norberg 0f3cb1b8a4 fix valgrind issues in tests 2013-09-04 05:50:40 +00:00
Arvid Norberg 75789e3958 fix uninitialized variable in disk_io_thread 2013-09-04 04:09:33 +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 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 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 f3684db153 added some documentation 2013-09-01 17:34:05 +00:00
Arvid Norberg 3afe6c23a0 merged tracker key patch from RC_0_16 2013-08-31 21:06:43 +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 a7551f6cf2 fix i2p_stream.cpp issue 2013-08-29 05:29:01 +00:00
Arvid Norberg 8a0b4d02da merged fix from RC_0_16 2013-08-26 05:50:26 +00:00
Arvid Norberg 02ca6a20b6 don't block when changing rss feed settings 2013-08-25 23:25:31 +00:00
Arvid Norberg 6a47271667 merge fix for deleting files from libtorrent_aio 2013-08-22 05:27:45 +00:00
Arvid Norberg f72f77aeb2 a few minor fixes 2013-08-22 02:55:19 +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 ec7809abb5 minor fix in ut_metadata 2013-08-21 07:55:29 +00:00
Arvid Norberg b431ef7836 use crc32 for node ID restriction scheme 2013-08-19 05:24:35 +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 023116db6f merge ssl test fix from RC_0_16 2013-08-17 22:29:34 +00:00
Arvid Norberg 1a0d798ac9 fixed typo in file_storage API deprecation 2013-08-17 01:35:39 +00:00
Arvid Norberg 5141a6505a merged url escaping fix from RC_0_16 2013-08-16 16:38:09 +00:00
Arvid Norberg 1b60710493 support extensions removing torrents in tick() 2013-08-15 06:10:41 +00:00
Arvid Norberg a4d4b362e6 fix bug in duplicate-peer resolution. just take the port into account, not the whole IP, because the different ends may have different ideas of what their IP is 2013-08-15 05:29:05 +00:00
Arvid Norberg 6228ef2e85 support calling API functions from plugins 2013-08-13 03:18:11 +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 85bb6a1839 move create_torrent documentation into headers. deprecate API touching internal_file_entry 2013-08-12 03:18:43 +00:00
Arvid Norberg 49aba26f5c merged shutdown fix from libtorrent_aio 2013-08-12 00:51:49 +00:00
Arvid Norberg 850834b48f merged string encoding fix from RC_0_16 2013-08-10 23:01:40 +00:00
Arvid Norberg 6a1e861a1d introduce mechanism for plugins to prevent libtorrent to disconnect peers for time-out reasons 2013-08-09 07:55:12 +00:00
Arvid Norberg d42e43f61d fixed deprecation warning 2013-08-09 07:36:07 +00:00
Arvid Norberg e5d6642582 merged encoding issue fix from RC_0_16 2013-08-08 04:32:54 +00:00
Arvid Norberg 6abfce3970 move torrent_status documentation into the header 2013-08-07 06:37:51 +00:00
Arvid Norberg d782fc224c merged SSL fix from RC_0_16 2013-08-05 16:20:25 +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 f7ec370723 extend peer_plugin to also be notified of disconnects and successful connect events 2013-08-03 23:31:43 +00:00
Arvid Norberg 9319c1e073 make it possible to add torrent plugins via add_torrent_params 2013-08-02 09:42:51 +00:00
Arvid Norberg e7db8d37a2 merge deprecation of wstring overloads from RC_0_16 2013-08-02 05:03:22 +00:00
Arvid Norberg c0a0769aea merged fix from RC_0_16 2013-08-02 01:25:52 +00:00
Arvid Norberg e1c4101817 improve peer_connect_alert 2013-08-01 00:44:14 +00:00
Arvid Norberg df97a76c2f enable request logging in regression testing 2013-07-30 15:59:41 +00:00
Arvid Norberg beae6cece0 merged ssl fix from RC_0_16 2013-07-28 15:06:28 +00:00
Arvid Norberg 2599acf451 merged time critical pieces improvement from RC_0_16 2013-07-27 17:43:34 +00:00
Arvid Norberg 1cb0161f0e merge fix from RC_0_16 2013-07-26 16:59:10 +00:00
Arvid Norberg f23ec7e727 merged fix from RC_0_16 2013-07-25 03:02:06 +00:00
Arvid Norberg b2ea34d2f2 fix windows build 2013-07-22 21:07:32 +00:00
Arvid Norberg 329ed1bdde moved declaration of time_now() into time.hpp 2013-07-21 05:05:00 +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 3c7503beaa remove unused member of alert_manager 2013-07-19 23:31:44 +00:00
Arvid Norberg b8143b46d3 tidy up time.hpp a bit 2013-07-19 23:17:17 +00:00
Arvid Norberg facbf9c178 don't expose load_file as a public function 2013-07-19 21:41:33 +00:00
Arvid Norberg a401aa0337 cleaned up public interface by removing some symbols from the exported set 2013-07-19 19:06:27 +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 1523a196e5 fix fallocate issue when filesystem doesn't support it 2013-06-24 03:26:17 +00:00
Arvid Norberg f41ceab27c fix dynamic link issue with libtorrent_error_category 2013-06-24 00:14:17 +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 70ab33d21c merged gcc build fix from RC_0_16 2013-06-21 23:00:34 +00:00
Arvid Norberg 3dbe57bc5c fix time_duration rounding on windows 2013-06-19 04:22:21 +00:00
Arvid Norberg 2aa1981ae3 fix link issue on windows 2013-06-18 16:01:37 +00:00
Arvid Norberg 8e43a80fe9 one more getpid() fix for windows 2013-06-18 08:48:19 +00:00
Arvid Norberg dcfd69fbe3 fix request-logging build on windows 2013-06-18 03:18:47 +00:00