Commit Graph

566 Commits

Author SHA1 Message Date
Arvid Norberg c9b594fde1 support sending suggest messages based on what's in the read cache. support 'explicit read cache' 2010-01-15 16:45:42 +00:00
Arvid Norberg 2d7705e38b disabled feature to drop requests after having been skipped too many times 2010-01-14 02:16:23 +00:00
Arvid Norberg cdf459dad5 only keep one outstanding duplicate request per peer 2009-12-25 16:52:57 +00:00
Arvid Norberg d84c59d13b upload only fix 2009-12-05 16:46:10 +00:00
Arvid Norberg 1f5859d31f error_code fix. added is_error_code_enum template specialization and using the abbreviated syntax to build error_codes 2009-11-29 07:06:38 +00:00
Arvid Norberg 39dae9e6dc some GCC 2.95 support fixes and some BeOS support 2009-11-28 22:41:21 +00:00
Arvid Norberg 1d6d11bf0c storage fix 2009-11-28 08:58:07 +00:00
Arvid Norberg ddceb1487d fixed building with no IPv6 support 2009-11-27 18:46:29 +00:00
Arvid Norberg 8dd244581d header optimizations 2009-11-26 05:45:43 +00:00
Arvid Norberg 2280454a99 support upload-only extension message 2009-11-24 18:49:59 +00:00
Arvid Norberg 6343fe6a6d optimized header dependencies to lower build time 2009-11-23 08:38:50 +00:00
Arvid Norberg 0880b74e6d fixed timestamp wrapping issue 2009-11-18 18:43:54 +00:00
Arvid Norberg 550c67a308 fixed local rate limit feature 2009-11-14 21:25:13 +00:00
Arvid Norberg c07b1d0981 fixed bug in remote download rate calculation 2009-11-14 20:55:42 +00:00
Arvid Norberg 158dd71ac2 performance optimization for buffer allocations 2009-11-11 05:29:34 +00:00
Arvid Norberg 1c377b1807 streaming fixes 2009-11-02 01:01:07 +00:00
Arvid Norberg c7834818f8 fix assert when snubbing peers 2009-11-01 00:47:22 +00:00
Arvid Norberg 86488f95e7 fixed ifdef typo 2009-10-29 04:18:58 +00:00
Arvid Norberg dcd8bb6718 move stats instrumentation to .cpp file to fix header dependency issue 2009-10-28 19:56:18 +00:00
Arvid Norberg 8a5b7d5d36 got rid of the last recursive mutexes. abstracted the threading primitives (and switched over to use asio's internal ones). 2009-10-20 02:49:56 +00:00
Arvid Norberg ac2ef7dd39 fixed division by zero in get_peer_info() 2009-10-03 15:24:59 +00:00
Arvid Norberg 6858a29b83 fixed potential pure virtual function call in extensions on shutdown 2009-09-14 02:08:34 +00:00
Arvid Norberg 35bca49c61 add torrent priority to adjust bandwidth allocation of torrent's peers 2009-09-13 02:24:25 +00:00
Arvid Norberg ce9cf5657d some cleanup and moved the upload_only = true to avoid failing an invariant check 2009-09-12 21:27:52 +00:00
Arvid Norberg f7ebefb285 fixed checking of fast and suggest messages when used with magnet links 2009-09-01 04:41:50 +00:00
Arvid Norberg b3372dced6 fixed rare request queuing issue for peers in parole mode 2009-08-28 07:48:31 +00:00
Arvid Norberg 45fd696bc6 added I2P support 2009-08-20 03:19:12 +00:00
Arvid Norberg 51c38c2e16 added performance warning when hitting the send buffer watermark limit 2009-08-17 20:29:09 +00:00
Arvid Norberg a6bcb8f8c9 fixed issue where web seed connections might have been disconnected in the constructor (which causes problems) 2009-08-08 15:27:07 +00:00
Arvid Norberg 5d76c19168 disconnect redundant fix 2009-08-02 00:05:41 +00:00
Arvid Norberg 78a6df0b2a connect candidate fix 2009-08-01 22:48:43 +00:00
Arvid Norberg ab26b1a5ff removed redundant code 2009-07-26 02:35:16 +00:00
Arvid Norberg 137d2d63f5 cleaned up policy. Moved logic from policy to torrent 2009-07-23 04:38:52 +00:00
Arvid Norberg 848a4b2cf2 fixed bug where downloading from peers could stall when downloading at very high rates 2009-07-21 04:29:29 +00:00
Arvid Norberg 7ad858ccd9 fixed rate limiter bug for local (unthrottled) connections 2009-07-19 09:17:40 +00:00
Arvid Norberg ae3be201c4 reduced the number of floating point operations to better support systems with no FPU 2009-07-19 04:59:27 +00:00
Arvid Norberg 3db42de4d9 fixed cancel_all_request() in peer_connection 2009-07-18 16:34:19 +00:00
Arvid Norberg 52f39a9af0 fixed inconsistency between peer's request list and piece picker in rare cases 2009-07-02 06:43:05 +00:00
Arvid Norberg 76db4627f6 another pending_bytes fix 2009-07-01 04:14:43 +00:00
Arvid Norberg 50fed84fe6 fixed typo 2009-06-28 22:58:21 +00:00
Arvid Norberg 315a4cdd1e some extra precaution for m_outstanding_bytes 2009-06-28 21:50:18 +00:00
Arvid Norberg ed0df519d7 fixed outstanding bytes counter assert 2009-06-28 21:09:07 +00:00
Arvid Norberg 6ddf63197f added more asserts around outstanding bytes counter 2009-06-28 07:39:06 +00:00
Arvid Norberg cbc740ee4f fixed bug where one allowed-fast message would be sent even when disabled 2009-06-28 00:47:49 +00:00
Arvid Norberg 2c5ef0debf fixed disk stats assert 2009-06-23 08:10:59 +00:00
Arvid Norberg c2e39ec907 adjust piece timeouts depending on download rate limit 2009-06-23 05:28:36 +00:00
Arvid Norberg c47f9cd64c fix channel_state assert 2009-06-19 18:19:24 +00:00
Arvid Norberg f09774607f added upload mode 2009-06-18 22:32:55 +00:00
Arvid Norberg 6b048dc85e fixed bug in connect candidate counter 2009-06-18 16:16:41 +00:00
Arvid Norberg 2da772210c fix to make torrent_status::list_peers more accurate 2009-06-13 04:14:41 +00:00