Commit Graph

4485 Commits

Author SHA1 Message Date
Arvid Norberg a71fbc4f68 include reason in peer_blocked_alert 2014-02-07 17:35:56 +00:00
Arvid Norberg b3de578fe7 merge invalid assert fix from RC_0_16 2014-02-07 09:35:08 +00:00
Arvid Norberg 0398dfe498 merged storage allocation mode fix from RC_0_16 2014-02-07 08:58:52 +00:00
Arvid Norberg 6c22d426d4 make all unit tests pass msvc's /RTCc instrumentation (no implicit integer truncation in casts) 2014-02-05 09:38:32 +00:00
Arvid Norberg 6597eaf09a there doesn't seem to be any point in exporting piece_block_progress, so don't do that. Introduce magic number check in disk_io_thread (mysterious crash/corruption happens in storage unit test on mac, but not very often and hard to reproduce). 2014-02-03 01:55:26 +00:00
Arvid Norberg 5dea631708 minor fixes from massaroddel 2014-02-02 10:05:32 +00:00
Arvid Norberg cd4adae4ed add and fix some documentation. regenerate html. remove bittorrent_utp as a connection type, there's already a utp_socket flag 2014-02-02 09:33:19 +00:00
Arvid Norberg 9612ef193e cleaned up i2p_category to encapsulate it in i2p_stream.cpp, as well as the socks5 erro_category. added some documentation to torrent_handle and session. fixed reference documentation mapping of get_*_category() functions. regenerate documentation 2014-02-02 04:07:36 +00:00
Arvid Norberg 15e2019332 clean up upnp error category by moving it into upnp.cpp, it's not properly encapsulated. added some documentation to torrent_handle. reformatted some documentation comments to honor an 80 column display 2014-02-02 03:05:55 +00:00
Arvid Norberg c02159f143 support magnet links wrapped in .torrent files 2014-02-01 03:47:29 +00:00
Arvid Norberg 3a03debcee fix bug in dht_error_alert 2014-01-31 06:01:29 +00:00
Arvid Norberg 57489489ab fixed verbose logging format string issue 2014-01-26 09:17:59 +00:00
Arvid Norberg 077f728931 more test_transfer polish. fix issue where passing on our listen port depended on anonymous_mode, instead of use_proxy. not passing it on would break a few unit tests 2014-01-26 08:36:56 +00:00
Arvid Norberg 36c9add067 don't print stuff to stdout in debug builds. when waking up from completing a connection attempt, exit immediately if the connection is disconnecting, or disconnect if we're in graceful pause mode. some test cleanups 2014-01-26 08:18:13 +00:00
Arvid Norberg f0d1e8636c extend verbose logging to try to catch test_priority failure on windows 2014-01-26 04:45:49 +00:00
Arvid Norberg 05aa06460d fix merge error 2014-01-26 02:40:09 +00:00
Arvid Norberg ce2805a258 merged lt_tex fix from RC_0_16 2014-01-26 01:17:58 +00:00
Arvid Norberg 1f5373599d fix typo 2014-01-25 08:16:51 +00:00
Arvid Norberg 2ac9c30dc9 fix valgrind check 2014-01-25 01:53:33 +00:00
Arvid Norberg 2a3f4e2360 merged verbose logging change from RC_0_16 2014-01-24 07:07:04 +00:00
Arvid Norberg 49ad7454d3 fix crc32 typo 2014-01-23 08:10:09 +00:00
Arvid Norberg 60af1aa451 update peer ranks when our external IP changes 2014-01-23 03:31:36 +00:00
Arvid Norberg 6bda2f7430 change peer priority to use crc32c instead of sha1 2014-01-23 02:28:04 +00:00
Arvid Norberg 99d9916c29 some more piece_picker asserts 2014-01-22 09:53:47 +00:00
Arvid Norberg 9d03019050 fix division by zero in send buffer debug logging 2014-01-22 01:59:24 +00:00
Arvid Norberg e0644ce8f5 invariant check macro fixes 2014-01-21 19:26:09 +00:00
Arvid Norberg 5d3c479e12 merged chunked encoding fix from RC_0_16 2014-01-21 09:14:00 +00:00
Arvid Norberg ca132efeb1 fix issue in torrent::bytes_left 2014-01-21 01:52:01 +00:00
Arvid Norberg 9ab349f1d0 improve dht error reporting 2014-01-20 09:20:47 +00:00
Arvid Norberg fec7407461 send implied_port in dht announce messages when uTP is enabled 2014-01-20 06:35:06 +00:00
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