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 |
Alden Torres
|
0d9862a8dd
|
fix wrong variable name
|
2018-04-04 19:41:03 +02:00 |
Arvid Norberg
|
16f1deb3ec
|
merged RC_1_1 into master
|
2018-04-04 15:28:33 +02:00 |
arvidn
|
98d5313598
|
don't perform DNS lookups for the DHT bootstrap unless DHT is enabled
|
2018-04-01 23:53:12 +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 |
arvidn
|
6a2df1034a
|
add some asserts and checks preventing IPv6 addresses to make it into libtorrent when IPv6 support is disabled
|
2018-03-31 14:17:06 +02: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
|
a0a63341c7
|
fix haiku build
|
2018-02-04 19:10:43 +01:00 |
arvidn
|
a33c81ad33
|
shave down session_interface by one function, reduce the dependencies between torrent and session
|
2018-01-29 03:00:59 +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
|
4fef787212
|
merged RC_1_1 into master
|
2018-01-24 00:37:05 +01:00 |
arvidn
|
efd096d879
|
use unique peer_ids per connection
|
2018-01-23 16:40:16 +01:00 |
arvidn
|
785fffd976
|
make url_random take a span
|
2018-01-15 01:49:42 -05:00 |
arvidn
|
a67eb2f059
|
fix tracker connection bind issue for IPv6 trackers
|
2018-01-14 06:47:13 -05:00 |
arvidn
|
65fef972a2
|
apply some c++11 modernization
|
2018-01-11 04:51:39 -05: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
|
88643dd121
|
fix m_in_constructor assert for peer_connection (if the peer connection is constructed, but bt_peer_connection constructor fails, it needs to be cleared). Fix an invariant in session on ungraceful shutdown. Make test framework a bit more robust
|
2018-01-06 14:29:20 -05:00 |
Alden Torres
|
98ade28237
|
using make_address instead of deprecated from_string when boost>=1.66 (#2659)
using make_address instead of deprecated from_string when boost>=1.66
|
2018-01-04 04:48:22 -05:00 |
arvidn
|
0731200149
|
block_size is a constant, no need in passing it around as a variable
|
2018-01-03 08:45:25 -05:00 |
arvidn
|
aae12250ae
|
support forced shutdown/destruction of torrent objects
|
2017-12-28 14:11:55 +01:00 |
arvidn
|
5f0c9a0c1d
|
improve error handling during session shutdown
|
2017-12-28 13:52:07 +01:00 |
arvidn
|
c1abafc0cc
|
reserve space in the undead peers list up-front, to not have to allocate memory when disconnecting
|
2017-12-27 21:24:16 +01:00 |
arvidn
|
5ebd05b047
|
handle serious errors in on_accept_connection handler
|
2017-12-27 21:23:25 +01:00 |
arvidn
|
ab9fcdf029
|
reserve space in torrent lists up-front, to make transitioning list membership unable to fail
|
2017-12-27 15:42:46 +01:00 |
arvidn
|
40292a1d51
|
don't heap-allocate handlers for incoming UDP packets
|
2017-12-24 11:22:30 +01:00 |
arvidn
|
753826cbb8
|
merger RC_1_1 into master
|
2017-12-23 18:15:01 +01:00 |
arvidn
|
62bf524e75
|
disable DHT logging with the TORRENT_DISABLE_LOGGING macros as well
|
2017-12-23 12:01:18 +01:00 |
sledgehammer_999
|
94f4e88e05
|
Fix local network address mappings.
|
2017-12-20 11:28:36 +01:00 |
arvidn
|
a54f76d5df
|
deprecate status_code from tracker_error_alert (it's already part of the error_code), simplify code a bit
|
2017-12-19 00:55:51 +01: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 |
Steven Siloti
|
9e0a3aead1
|
use info hash from params instead of passing it separately
|
2017-12-14 10:18:33 +01:00 |
arvidn
|
7b06a5ee6e
|
merged RC_1_1 into master
|
2017-12-13 12:36:35 +01:00 |
arvidn
|
fe6473039c
|
fix rate limit utp feature
|
2017-12-11 08:40:35 -05:00 |
arvidn
|
c16eb32b94
|
merge RC_1_1 into master
|
2017-12-03 18:12:35 +01:00 |
arvidn
|
c745d3f00d
|
fix incorrect use of make_tick_handler
|
2017-12-02 12:20:36 +01:00 |
arvidn
|
4b467f82ac
|
fix issue with initializing settings on session construction
|
2017-12-02 12:20:36 +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
|
5e7666526e
|
fix IPv6 tracker announce issue
|
2017-11-23 10:11:59 +01:00 |
arvidn
|
a57ad00e15
|
fix force-proxy regression (udp sockets would not be opened)
|
2017-11-21 08:54:16 +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 |
arvidn
|
d00451994b
|
stop posting alerts when the session is shutting down. Nobody will be able to see them anyway. It also solves some issues around destruction order where posting alerts require certain things to still be around in the session_impl object
|
2017-11-12 09:12:59 +01:00 |
arvidn
|
b88c193742
|
fix sign conversion warning in peer_class_type_filter
|
2017-11-11 09:17:37 +01:00 |
arvidn
|
1ed68551d7
|
merged RC_1_1 into master
|
2017-11-10 01:37:35 +01:00 |