Arvid Norberg
|
fef1b947f3
|
fix issue in self-connection detection introduced with the change to generate unique peer-ids for each connection. Now, the torrent keeps track of all of our peer-ids generated for outgoing (bittorrent) connections, and we check them against incoming peers' peer-ids
|
2018-08-19 22:19:53 +02:00 |
arvidn
|
b3dbce5790
|
merge RC_1_1 into master
|
2018-08-13 09:32:17 +02:00 |
arvidn
|
19df645012
|
apply piece priorities immediately, even though file priority updares are async. save both file- and piece priorities in fast resume. when loading, apply file prios first, then piece prios
|
2018-07-29 21:53:01 +02:00 |
Arvid Norberg
|
b3856d3027
|
narrow the scope affected by TORRENT_DISABLE_EXTENSIONS to only disable the user extensions, but always support the extension message and the built-in extensions, like lt_donthave and seed_mode
|
2018-07-26 09:31:49 +02:00 |
Steven Siloti
|
961cf62cad
|
dht: announce with per-interface listen port
|
2018-07-12 08:36:57 +02:00 |
arvidn
|
b750b6cc2c
|
deprecate (and disable) the force-proxy setting. Instead, always use the proxy when set, never fall back on circumventing it
|
2018-07-08 18:26:47 +02:00 |
Arvid Norberg
|
0e49051f17
|
make create_random_files() take a span instead of pointer, length parameters
|
2018-06-11 01:35:31 +02:00 |
Arvid Norberg
|
ccdfd7383e
|
move export.hpp into aux_ folder. put assert symbols in libtorrent namespace
|
2018-05-14 09:09:01 +02:00 |
arvidn
|
fe612ca167
|
replace the TORRENT_CFG ABI check with inline namespaces around the symbol that can change ABI based on build configuration options
|
2018-05-13 19:25:17 +02:00 |
arvidn
|
9ca12d6db5
|
restore aspects of the previous behavior of force-proxy. Instead of not opening any TCP listen sockets at all, open them but reject any incoming connection. This is because in RC_1_1, the UDP and TCP sockets are tied in subtle and unintuitive ways. This is much cleaner in the next major release and this patch will not need to be merged
|
2018-05-13 12:31:00 +02:00 |
Arvid Norberg
|
4523e05527
|
fix uTP and SOCKS5 simulations and update libsimulator
|
2018-05-13 12:10:34 +02:00 |
Arvid Norberg
|
c98b700d4f
|
merged RC_1_1
|
2018-05-10 22:48:39 +02:00 |
arvidn
|
299a545648
|
add test for suggests- and seed mode combined
|
2018-05-10 17:40:23 +02:00 |
arvidn
|
fe25b50b1a
|
update libsimulator with a fix for boost-1.66
|
2018-05-10 14:04:10 +02:00 |
Steven Siloti
|
96d215a32a
|
only allow pinged nodes into the routing table (#3006)
This is an attempt to prevent bogus nodes entering the routing table and
being propogated to other nodes.
|
2018-05-08 12:47:29 +02:00 |
arvidn
|
8621477239
|
merged RC_1_1 into master
|
2018-04-28 14:36:24 +02:00 |
Alden Torres
|
9b1e79660f
|
removed unnecessary parentheses around min/max, added some const modifier (#2926)
|
2018-04-11 15:19:00 +02:00 |
arvidn
|
a7406de2b8
|
remove the global cache of the current time, just use clock::now() instead
|
2018-04-07 21:43:18 +02:00 |
Arvid Norberg
|
6efff919cd
|
deprecated alert::progress_notification alert category, split into finer grained categories
|
2018-04-05 16:27:28 +02:00 |
Arvid Norberg
|
16f1deb3ec
|
merged RC_1_1 into master
|
2018-04-04 15:28:33 +02:00 |
Alden Torres
|
5b922072e9
|
avoid calls to .address() when looking for endpoint protocol (#2892)
using is_v4 and is_v6 where possible
|
2018-04-01 13:48:17 +02:00 |
d_komarov
|
1c867a5026
|
Changing file priorities while checking interrupts checking.
Also, if the last file has zero priority, checking is interrupted prematurely.
|
2018-03-26 02:59:10 +02:00 |
arvidn
|
0fa24faec4
|
merged RC_1_1 into master
|
2018-03-25 22:06:41 +02:00 |
arvidn
|
02a01fa22e
|
fix issue where the current tracker would be skipped for the next tracker in the same tier
|
2018-03-25 14:40:38 +02:00 |
arvidn
|
5c1b65e9b8
|
merged RC_1_1 into master
|
2018-03-12 02:32:12 +01:00 |
arvidn
|
a06e4f696b
|
track whether a file is eligible for using the partfile on a per-file basis. This is intended to improve backwards compatibility, to better support resuming files downloaded with older versions of libtorrent
|
2018-03-11 12:52:56 +01:00 |
arvidn
|
9696082355
|
merged RC_1_1 into master
|
2018-02-25 09:36:12 +01:00 |
arvidn
|
1ede34da8a
|
undo the patch to restore incoming TCP connections over SOCKS5
|
2018-02-19 00:01:42 +01:00 |
arvidn
|
f8fb5c2294
|
merged RC_1_1 into master
|
2018-02-10 22:52:12 +01:00 |
arvidn
|
a1860426b8
|
defer truncating existing files until the first time we write to them
|
2018-02-10 18:33:41 +01:00 |
arvidn
|
308cbfe097
|
merged RC_1_1 into master
|
2018-01-27 02:36:55 +01:00 |
arvidn
|
bc4d53c71f
|
restore support for incoming connections over SOCKS5 (disabled by default)
|
2018-01-25 09:14:14 +01:00 |
arvidn
|
3a9861e237
|
complete the error handling test and make it part of the default simulation test suite. It will run a file transfer between two clients repeatedly, each time cause another memory allocation fail, until every single memory allocation has failed once. Any invariant check failure, assertion or signal will cause the test to fail
|
2018-01-08 04:44:52 -05:00 |
arvidn
|
98419aee12
|
disable debug iterators in simulations on windows, since exception safety is compromised
|
2018-01-05 10:55:12 -05:00 |
arvidn
|
f80cd8ad1b
|
update libsimulator and set default build to be static for sims
|
2018-01-04 07:28:53 -05:00 |
arvidn
|
70448a2c3a
|
update libsimulator submodule
|
2018-01-02 18:42:01 -05:00 |
arvidn
|
7141542591
|
update libsimulator with boost-1.66 fix
|
2018-01-01 20:23:59 -05:00 |
arvidn
|
96bf0ad5de
|
fix reopening of listen sockets when disabling force-proxy
|
2017-12-17 08:25:51 +01:00 |
arvidn
|
55babc57e6
|
merged RC_1_1 into master
|
2017-12-15 17:18:27 +01:00 |
arvidn
|
d1a63cd781
|
fix build against boost-1.66, specifically the boost.asio changes
|
2017-12-15 11:29:53 +01:00 |
arvidn
|
a6656aeb93
|
generate random keys for use in tracker announces. keys are unique for each torrent and the listen interface they announce via
|
2017-11-29 00:10:35 +01:00 |
arvidn
|
9d37fbd1f7
|
disable tests requiring logging when building with logging disabled
|
2017-11-24 07:50:06 +01:00 |
arvidn
|
4bc93cff38
|
merge RC_1_1 into master
|
2017-11-23 18:01:32 +01:00 |
arvidn
|
5e7666526e
|
fix IPv6 tracker announce issue
|
2017-11-23 10:11:59 +01:00 |
Alden Torres
|
f73473a6ec
|
don't early move shared_ptr plugin in torrent::add_extension_fun, added test for it
|
2017-11-23 08:00:08 +01:00 |
arvidn
|
a57ad00e15
|
fix force-proxy regression (udp sockets would not be opened)
|
2017-11-21 08:54:16 +01:00 |
arvidn
|
c6f0c9c206
|
fix build
|
2017-11-21 08:22:02 +01:00 |
arvidn
|
22f8bdfebc
|
merge RC_1_1 into master
|
2017-11-21 00:50:02 +01:00 |
Arvid Norberg
|
c734f42ac3
|
make tracker announces happen even if there are no open listen sockets (#2529)
support announcing to IPv6 trackers and running an IPv6 DHT when not listening for incoming connections
|
2017-11-20 23:42:22 +01:00 |
arvidn
|
096ce54fae
|
fix issue where new listen sockets would not be opened when leaving force_proxy mode
|
2017-11-14 12:38:22 +01:00 |