Commit Graph

8704 Commits

Author SHA1 Message Date
arvidn 58e73c1469 fix typo 2016-03-13 20:47:50 -04:00
Arvid Norberg 1a6e226dc1 Merge pull request #539 from arvidn/piece-matrix-1.1
Piece matrix 1.1
2016-03-13 19:14:05 -04:00
arvidn c9c401d15c add piece matrix to client_test 2016-03-13 19:13:38 -04:00
Arvid Norberg 5652a46068 Merge pull request #508 from arvidn/part-file-1.1
attempt to fix issue where the partfile is not deleted
2016-03-13 18:05:01 -04:00
arvidn 8f14c74be8 fix issue where a seed could time-out an unchoked peer for not sending any requests, despite being busy servicing requests from the peer (and time out immediately when m_requests is drained) 2016-03-13 16:41:31 -04:00
arvidn fb85e5e60f improve message from listen_failed_alert. Post listen_failed_alert for every failure, including the ones that are re-tried 2016-03-13 16:18:44 -04:00
Arvid Norberg 108dfacd4d Merge pull request #529 from arvidn/evict-volatile-1.1
try to evict a volatile piece before allocating a new one for a hash check
2016-03-13 12:53:11 -04:00
arvidn 0d0048d415 try to evict a volatile piece before allocating a new one for a hash check. It may be faster to check files without growing the cache, or reusing the same buffers. 2016-03-13 12:52:44 -04:00
Arvid Norberg d059ac563d Merge pull request #532 from arvidn/utp-mtu-1.1
improve robustness and performance of uTP PMTU discovery
2016-03-13 12:43:29 -04:00
arvidn 2178d1ad2b improve robustness and performance of uTP PMTU discovery. fix duplicate ACK issue in uTP. demote an invariant check to 'expensive' 2016-03-13 12:40:59 -04:00
arvidn 71e3fb8941 fix division by zero in super-seeding logic 2016-03-07 23:40:01 -05:00
Arvid Norberg 2e66708273 Merge pull request #528 from arvidn/checking-cache-1.1
fix bug where disk cache was wiped out after completion file-checking
2016-03-07 01:00:12 -05:00
arvidn f5d5ac4f3a fix bug where disk cache was wiped out after completion file-checking. factor out sim test utilities and reuse them in the regression test 2016-03-06 21:44:38 -05:00
Arvid Norberg 3fa3004b85 Merge pull request #526 from arvidn/rechecking-outstanding-1.1
always keep at least 2 async hash jobs outstanding
2016-03-06 20:05:56 -05:00
Arvid Norberg 5efc625015 Merge pull request #525 from arvidn/load-state-1.1
support filtering which parts of session state are loaded
2016-03-06 16:36:57 -05:00
arvidn 442979c318 support filtering which parts of session state are loaded by load_state() 2016-03-06 16:35:49 -05:00
arvidn 67774d660d always keep at least 2 async hash jobs outstanding when rechecking torrents (to keep the bandwidth delay product full) 2016-03-06 16:31:18 -05:00
Arvid Norberg 834d04efdc Merge pull request #523 from arvidn/disk-cache-1.1
fix support for auto disk cache size
2016-03-06 16:16:17 -05:00
arvidn b40430f175 change the cache size calculation for auto cache size (-1) to be smaller, especially for machines with large amounts of RAM 2016-03-06 16:15:22 -05:00
arvidn adf56344e6 add interactive option to toggle use of disk cache to client_test 2016-03-06 16:15:17 -05:00
arvidn a02c1d2164 record cache settings in the job instead of checking it twice for more robust behavior 2016-03-06 16:15:13 -05:00
arvidn 8ca76f9d59 fix support for auto disk cache size and disk buffer pool allocator behavior 2016-03-06 16:14:55 -05:00
Arvid Norberg 5febe36106 Merge pull request #517 from arvidn/receive-buffer-fix-1.1
fix bug in receive_buffer
2016-03-05 00:14:32 -05:00
arvidn 26f88bb12d add receive_buffer unit test and some more cleanup and asserts 2016-03-05 00:14:00 -05:00
arvidn 2efb9d9a6a fix bug in receive_buffer 2016-03-05 00:13:59 -05:00
Arvid Norberg be17b78c5f Merge pull request #522 from arvidn/io-thread-assert-1.1
remove invalid assert in the disk thread
2016-03-04 23:16:02 -05:00
arvidn 2bd6ad9974 remove invalid assert in the disk thread 2016-03-04 20:20:49 -05:00
Arvid Norberg 00f3406402 Merge pull request #514 from arvidn/allowed-unchoke-1.1
attempt to uphold the invariant that the num_unchoke_slots
2016-03-04 16:43:38 -05:00
arvidn b707a4de90 uphold the invariant that the num_unchoke_slots counter is int max as long as the unchoke slots limit < 0 2016-03-04 16:42:36 -05:00
Arvid Norberg ead9b2b02a Merge pull request #520 from aldenml/documentation-typos
Documentation typos
2016-03-04 16:10:04 -05:00
Alden Torres 4998bfedc6 Documentation typos 2016-03-04 10:43:25 -05:00
Arvid Norberg d332a03281 Merge pull request #512 from arvidn/connect-speed-1.1
increase default connect speed. minor cleanup. add logging for short …
2016-03-03 18:10:03 -05:00
arvidn 2e7e679eed simplify client_test shutdown and make it keep logging as saving resume data 2016-03-03 01:20:15 -05:00
arvidn b9ec183e24 increase default connect speed. minor cleanup. add logging for short lived connections 2016-03-03 01:20:15 -05:00
Arvid Norberg 6ab596be17 Merge pull request #516 from arvidn/test-recheck-1.1
add more slack to test_recheck
2016-03-03 01:16:22 -05:00
arvidn fbef47d3ec fix edge case in uTP stream when receiving a close-reason code 2016-03-02 22:30:02 -05:00
arvidn 84eafac1e2 add more slack to test_recheck, as it has been failing on and off on travis 2016-03-02 21:38:20 -05:00
Arvid Norberg 2e3be6e5ca Merge pull request #513 from arvidn/torrent-shutdown-1.1
fix issue when shutting down a torrent with outstanding async operations
2016-03-02 18:40:03 -05:00
arvidn e851b79865 fix issue when shutting down a torrent with outstanding async operations 2016-03-02 01:16:08 -05:00
arvidn aeb9f1c5dd fix bug in enum_net_interfaces 2016-02-29 18:14:10 -05:00
arvidn 2b6fdc1728 attempt to fix issue where the partfile is not deleted when asking to delete all files 2016-02-28 16:05:13 -05:00
arvidn 021375c07f extend tutorial and finish bt-get example 2016-02-28 15:44:59 -05:00
Arvid Norberg 0cd0c57880 Merge pull request #507 from arvidn/fix-test-upnp-1.1
fix test_upnp build
2016-02-28 10:44:16 -05:00
Arvid Norberg e8c0ce1668 Merge pull request #506 from arvidn/backwards-compatible-alert-1.1
attempt to make the alert type backwards compatible
2016-02-28 02:37:27 -05:00
Arvid Norberg d2155a72b8 Merge pull request #505 from arvidn/python-save-path-1.1
forward port python binding test for torrent_status::save_path
2016-02-28 02:22:28 -05:00
arvidn 8ffa76842c fix test_upnp build 2016-02-28 01:18:27 -05:00
arvidn 2f745a181c fix typo and make alert non-copyable 2016-02-27 23:53:25 -05:00
arvidn 12dce2ccdb forward port python binding test for torrent_status::save_path 2016-02-27 20:57:06 -05:00
arvidn f563bf9cac attempt to make the alert type backwards compatible with cloning the state when building with deprecated functions enabled 2016-02-27 20:25:17 -05:00
arvidn 296a38efba improve windows output of client_test 2016-02-27 19:40:04 -05:00