Commit Graph

8968 Commits

Author SHA1 Message Date
arvidn 2f75dcccfe on backwards compatible set_settings(), stack allocate settings_pack 2016-12-26 22:44:42 -08:00
Falcosc 6520fcebf1 fix session invariant check fail for difficult setting dependencies (#1449)
clean up session_impl invariant checks
2016-12-26 08:09:52 -08:00
arvidn eb5b0e9897 fix another c++98 issue 2016-12-24 11:27:58 -08:00
arvidn fa7846d1fd fix c++98 build 2016-12-24 08:40:49 -08:00
Arvid Norberg a6de426d1e add file_status to python binding (#1448)
add more missing functions to python bindings
2016-12-23 13:57:10 -08:00
arvidn 820fd29bff add missing session stats functions to python bindings 2016-12-23 06:06:44 -05:00
arvidn ad7e796d05 fix socks5 support for UDP. based on patch in https://github.com/arvidn/libtorrent/issues/1373 2016-12-19 23:52:53 -05:00
Falcosc 8adcbdd32b add setting urlseed_max_request_bytes to handle large web seed requests #1405 (#1423)
add setting urlseed_max_request_bytes to handle large web seed requests. change default for urlseed max request to 16MIB
2016-12-18 15:58:14 -05:00
Andrei Kurushin d62b980278 backport fix upnp xml_parse 2016-12-18 09:01:33 -05:00
Steven Siloti db65eaaa00 submit disk jobs from read_piece right away
Without this the jobs get submitted on the next tick which may take a while.
2016-12-17 02:23:09 -05:00
Steven Siloti 30303c17df don't indicate interest in peers when in upload only mode
If the torrent is paused we don't want to mark peers as interesting
even if the torrent has not finished downloading.
2016-12-09 17:16:25 -05:00
arvidn a39f3714b2 fix python build with CC/CXX environment 2016-12-08 18:39:43 -05:00
Steven Siloti 5d0322d393 fix assertion in fingerprint::to_string 2016-12-07 20:52:45 -05:00
arvidn 864fcfaced initialize piece priorities to 4 2016-12-04 18:36:45 -05:00
arvidn 29e09a457a fix deprecation of use_interface 2016-12-04 01:41:52 -05:00
arvidn 8874a907ef fix to file priorities 2016-12-03 00:57:52 -05:00
Calum Lind be4167660e Fix autoreconf AC_LANG_CONFTEST warnings 2016-11-26 23:38:56 -05:00
AllSeeingEyeTolledEweSew 3abecd2546 Cast cached_piece_info::kind to int. 2016-11-26 11:06:49 -05:00
AllSeeingEyeTolledEweSew c5f1c07a87 Bind cache_status::pieces. (#1323)
expose cache_status::pieces in python binding
2016-11-22 18:38:45 -05:00
Mokhtar Naamani f81e09fe05 update stack_allocator to support 0 size allocations 2016-11-21 20:17:15 -05:00
tnextday c1224f72c3 add urlseed timeout test (#1340)
updates m_last_sent in peer_connection::setup_send() instead of peer_connection::keep_alive()
2016-11-20 10:32:20 -05:00
arvidn 4df1ecbe25 re-enable some warnings and fix code 2016-11-20 01:05:16 -05:00
arvidn 721a607593 update piece priority documentation 2016-11-19 14:33:04 -05:00
arvidn f201cf5eeb fix Changelog 2016-11-19 14:27:26 -05:00
arvidn f83e16f0cc add unit test for stack allocator 2016-11-19 13:24:45 -05:00
tnextday b25ea5329f updates `m_last_sent` in `peer_connection::setup_send()` instand of `peer_connection::keep_alive()` 2016-11-19 02:03:12 -05:00
Arvid Norberg a7dcdf30ef cleanup and fixes to python bindings (#1317) 2016-11-13 20:52:56 -05:00
arvidn d92f9ecc50 fix typo 2016-11-12 01:08:24 -05:00
arvidn d4be34ddce fix signed shift bug in client_test 2016-11-12 01:05:34 -05:00
arvidn ab6940d560 back-port python binding patch to expose cache_flushed_alert 2016-11-11 01:06:23 -05:00
arvidn 3d39d71819 forward port update to ax_boost_system.m4 2016-11-11 01:06:04 -05:00
arvidn f33d1b32e3 add trackers from add_torrent_params/magnet links to separate tiers 2016-11-09 18:44:01 -05:00
arvidn 200b3c4965 add rename file test 2016-11-05 15:20:38 -04:00
arvidn 19a5d9f989 add proxy_type_t to python binding 2016-11-05 11:37:14 -04:00
arvidn 2d1ce777f5 fix python exception 2016-11-03 22:30:48 -04:00
Arvid Norberg f5c7a49d61 remove incorrect deleted-storages assert and add some more test coverage in test_metadata_extensions (#1286) 2016-11-03 19:39:42 -04:00
Arvid Norberg 11856d64e9 treat an unknown key in a settings_pack as an error in python (#1287) 2016-11-03 01:01:48 -04:00
arvidn c1fbd31bf1 make deprecation ifdefs more uniform 2016-11-02 23:40:48 -04:00
Arvid Norberg 21d05945f2 documentation and deprecation fixes (#1275)
documentation and deprecation fixes
2016-10-31 20:00:01 -04:00
Arvid Norberg 4ba0151cb9 documentation fixes (#1274) 2016-10-29 22:56:46 -04:00
Arvid Norberg 7476f7875e don't check file-sizes resume data for files that likely is in the partfile (#1268) 2016-10-29 13:53:24 -04:00
Arvid Norberg d1a59879cb deprecate mmap_cache (#1269)
deprecated mmap_cache feature
2016-10-29 13:42:42 -04:00
arvidn 336030c73b update SSL certificate for test 2016-10-27 18:21:04 -04:00
Arvid Norberg 61af222d92 add utility function for generating peer ID fingerprint (#1249)
add utility function for generating peer ID fingerprint
2016-10-25 08:03:26 -04:00
Steven Siloti cf7db392b6 assert that offset didn't change while hashing 2016-10-25 07:59:02 -04:00
Steven Siloti f36b9a805a avoid concurrent access to hash offset
Since partial_hash::offset is not an atomic it is technically UD to access it
concurrently from multiple threads.
2016-10-25 07:59:02 -04:00
Steven Siloti 241e9fd25a add assert to detect index out-of-range 2016-10-25 07:59:02 -04:00
Arvid Norberg f16d0b7953 add unit test for 'file_sizes' entry in resume data (#1248)
add unit test for 'file_sizes' entry in resume data. fix resume data bug in client_test for magnet links and minor resume data cleanup in default_storage
2016-10-23 22:01:09 -04:00
Arvid Norberg 5012fcf10b fix bug in last-seen-complete (#1234) 2016-10-20 00:15:26 -04:00
Alden Torres fe754453f4 backport of fix for LFS support in android (#1232) 2016-10-20 00:14:03 -04:00