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
Arvid Norberg
7009001f73
fix ambiguous call to abs() in tommath ( #1228 )
...
fix ambiguous call to abs() in tommath
2016-10-20 00:13:45 -04:00
Pavel Pimenov
037f349cee
Try resolve #1175 (for RC_1_1) ( #1230 )
...
https://github.com/arvidn/libtorrent/pull/1223
2016-10-19 17:29:35 -04:00
Steven Siloti
fc7b4c1c4f
update comment to reflect new quota definition
2016-10-15 21:32:14 -04:00
Steven Siloti
c13286b945
take upload speed into account in round-robin choker
...
The unchoked peers need to be sorted by upload speed so that the slowest node
will get choked as part of optimistic unchoking.
Also change the minimum quanta to 1 minute instead of 256KB.
Also remove a useless multiply in the fastest peer choker since the priorities
are guarenteed to be equal at that point.
Fixes #1171
2016-10-15 21:32:14 -04:00
arvidn
344eedb969
add python scrape_tracker test
2016-10-15 21:29:01 -04:00
Arvid Norberg
25195a7260
back port DHT fixes from master ( #1209 )
...
back port DHT fixes from master
2016-10-14 23:47:59 -04:00
Arvid Norberg
c966435d1c
fix issue where shutting down the session immediately and asynchronously starting the DHT would cause a shutdown hang ( #1203 )
2016-10-10 22:54:19 -04:00
Arvid Norberg
6bb2d7c017
Sanitize 1.1 ( #1197 )
...
enable address sanitizer
2016-10-09 17:00:20 -04:00
Arvid Norberg
5f7e2eb928
run undefined sanitier on travis/linux ( #1134 )
...
run undefined sanitizer on travis/linux. back-port ed25519 unit test from master
2016-10-08 12:29:46 -04:00
Arvid Norberg
15bf443bfd
fix connection_tester to support generating fake data for arbitrary torrents ( #1181 )
2016-10-04 07:31:07 -07:00
Arvid Norberg
7a52a285a1
back-port error_code cleanup from master ( #1173 )
...
back-port error_code cleanup from master
2016-10-03 16:32:40 -07:00
minus
ab846d2d31
fixed python scrape_tracker arguments ( #1160 )
2016-09-27 23:22:06 -04:00
Steven Siloti
2e0140b6f6
fix peer picking algorithm ( #1141 )
...
fix peer picking algorithm. The old code was always picking the first to_pick peers from the set.
2016-09-24 06:08:52 -07:00
Arvid Norberg
62146f43d0
fix appveyor ( #1132 )
2016-09-21 22:58:54 -07:00