Commit Graph

8721 Commits

Author SHA1 Message Date
Michael Smith 7657373fe3 Fix building examples
Add finding OpenSSL for examples (on Mac it's common for OpenSSL
installed via Homebrew to not be on normal paths, so find it via
CMAKE_PREFIX_PATH). Also make the example cmake helper script
executable.
2016-03-12 15:09:03 -08:00
Michael Smith 9b8b6b6c46 Add read_resume_data to CMakeLists.txt
Without read_resume_data, builds fail with CMake due to a missing
dependency.
2016-03-12 14:57:56 -08:00
arvidn 6d85c7c5f0 merge RC_1_1 into master 2016-03-08 01:10:48 -05: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 508cc3e110 Merge pull request #518 from arvidn/file-index-fix
fix typo in reporting file index in checking resume data
2016-03-03 18:10:18 -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
arvidn e1f4b5ad2d fix typo in reporting file index in checking resume data 2016-03-02 18:43:16 -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 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
arvidn ac2916c426 enable disk cache pool allocator by default. fix ansi escape code conversion in client_test on windows 2016-02-27 17:42:31 -05:00
Arvid Norberg 808282f447 Merge pull request #504 from arvidn/rename-file-fix
fix bug in torrent_info::rename_file
2016-02-27 13:50:28 -05:00
arvidn 587e888152 fix bug in torrent_info::rename_file 2016-02-27 10:20:23 -05:00
arvidn 07ecf7c1bd remove invalid assert 2016-02-27 00:25:21 -05:00
Arvid Norberg 765c7f8c0c Merge pull request #501 from ssiloti/RC_1_1
set enable_dht to true in session::start_dht(entry)
2016-02-26 23:12:04 -05:00
Steven Siloti b52027a02a set enable_dht to true in session::start_dht(entry)
This function needs to enable the dht to match its semantics in pre 1.1 versions
2016-02-26 19:22:28 -08:00