arvidn
|
7a51813d32
|
improve peer debug logging
|
2018-12-02 04:03:03 +01:00 |
arvidn
|
fb66419791
|
merged RC_1_1 into master
|
2018-11-30 00:09:32 +01:00 |
arvidn
|
a44ddddede
|
fix potential issue where the dht port message is sent before the peer handshake
|
2018-11-29 10:21:21 +01:00 |
arvidn
|
e80506d3b3
|
iterators are not (necessarily) pointers. use data() instead of begin() on span
|
2018-11-27 13:26:50 +01:00 |
arvidn
|
3126e8f39e
|
improve type-safety a bit in the hole-punch code
|
2018-11-17 00:49:29 +01:00 |
arvidn
|
5383854768
|
make span's and sha1_hash's index and size types signed (instead of unsigned). Specifically std::ptrdiff_t. In line with the direction of gsl span and reduce signed->unsigned casts
|
2018-11-16 14:06:22 +01:00 |
Arvid Norberg
|
ede7dbf0aa
|
add LGTM badge to README and fix warnings
|
2018-10-19 16:28:33 +02:00 |
Arvid Norberg
|
6724c1eec0
|
fix some warnings
|
2018-09-19 22:12:45 -07:00 |
Arvid Norberg
|
fc7b61a6f3
|
improve type-safety of the severity parameter to peer_connection::disconnect()
|
2018-09-06 16:42:04 -07:00 |
arvidn
|
c9cbb122e2
|
fix some warnings from sonar-cube
|
2018-09-05 18:10:57 -07:00 |
arvidn
|
78a344bd8b
|
merged RC_1_1 into master
|
2018-09-05 08:25:14 -07:00 |
arvidn
|
7c837be651
|
make the print function for entry actually be json-like. when logging bencode entries, print it all on a single line. add test for entry print function
|
2018-08-27 13:56:04 +02:00 |
Arvid Norberg
|
b90564d418
|
remove the IPv6 enable/disable build config
|
2018-08-19 22:20:54 +02:00 |
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 |
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 |
Arvid Norberg
|
4282dd072a
|
factor out generate_peer_id into its own file
|
2018-07-25 08:49:18 +02:00 |
Arvid Norberg
|
e88a9a4dda
|
merged RC_1_1 into master
|
2018-07-18 10:48:36 +02:00 |
arvidn
|
5d3ac8ff5c
|
fix some warnings
|
2018-07-18 10:38:45 +02:00 |
Steven Siloti
|
e5be30157f
|
set port in handshake based on source address (#3172)
|
2018-07-15 21:15:04 +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 |
Alden Torres
|
8a0ac58658
|
some lint oriented refactor, more use of const
|
2018-05-30 23:52:28 +02:00 |
Alden Torres
|
8da635d1f5
|
minor code cleanup, more use of const
|
2018-05-01 23:03:29 +02:00 |
arvidn
|
f0227451a6
|
merged RC_1_1 into master
|
2018-04-13 01:47:41 +02:00 |
arvidn
|
aaf9304a3b
|
update year in copyright header
|
2018-04-09 09:04: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 |
arvidn
|
3171245292
|
fix warnings
|
2018-03-24 23:01:19 +01:00 |
Alden Torres
|
61ae2c834b
|
removed unused bt_peer_connection::on_keepalive
|
2018-03-16 17:32:20 +01:00 |
Alden Torres
|
1f86beb253
|
ask for protocol instead of copy address in ut_pex_peer_store::was_introduced_by
|
2018-03-07 09:44:45 +01:00 |
arvidn
|
9696082355
|
merged RC_1_1 into master
|
2018-02-25 09:36:12 +01:00 |
arvidn
|
24dea1f845
|
fix tie-break in duplicate peer connection disconnect logic
|
2018-02-21 21:04:28 +01:00 |
Alden Torres
|
3261eea63a
|
more use of emplace and minor code refactor in bt_peer_connection.cpp
|
2018-02-02 21:53:48 +01:00 |
arvidn
|
e126d7bce0
|
move socket_type into aux-namespace
|
2018-01-29 08:33:45 +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 |
Pavel Pimenov
|
97ceeab9e3
|
fix V821 Decreased performance. (#2675)
The 't' variable can be constructed in a lower level scope
|
2018-01-07 20:37:21 -05:00 |
pavel.pimenov
|
bad0f01e07
|
remove #include boost/multiprecision
|
2018-01-06 09:24:48 -05:00 |
arvidn
|
d22c44c057
|
fix kludge and down-cast to send upload_only. Promote upload-only to a top-level peer feature
|
2017-09-23 07:51:51 -07:00 |
Alden Torres
|
1d9b10a32b
|
fix warning for Xcode 9, added const and minor code refactor to bt_peer_connection.cpp
|
2017-09-22 04:46:16 -07:00 |
arvidn
|
93bb84d94c
|
some random cleanup
|
2017-09-13 08:28:46 +02:00 |
Steven Siloti
|
df8a57efb7
|
select which DHT port to report based on the connection's local endpoint (#2316)
|
2017-09-10 10:25:04 +02:00 |
arvidn
|
1290e6f5af
|
simplify buffer handling in rc4_decrypt calls
|
2017-08-23 07:01:12 +02:00 |
arvidn
|
22c047f8a0
|
factor out and simplify get_syncoffset
|
2017-08-23 06:59:44 +02:00 |
Alden Torres
|
5130827fc7
|
minor code refactor and cleanup in bt_peer_connection (#2261)
|
2017-08-21 11:00:00 +02:00 |
toinetoine
|
b1c3e12cd0
|
added block_uploaded_alert to allow client to track upload activity
|
2017-07-16 11:04:03 -07:00 |
arvidn
|
f85c01cc0a
|
merged RC_1_1 into master
|
2017-06-21 00:51:43 -04:00 |
arvidn
|
53cbb607d0
|
first steps towards spell checking documentation
|
2017-06-17 22:59:57 -04:00 |
arvidn
|
1fd350cf60
|
make operation_t an enum class, for type safety
|
2017-06-15 07:00:06 -04:00 |
Alden Torres
|
4ea318faa0
|
compilation fix when not TORRENT_ASSERT
|
2017-04-26 13:46:35 -04:00 |
arvidn
|
4eb5155263
|
use span<> for peer_connection::send_buffer
|
2017-04-25 23:02:32 -04:00 |
Steven Siloti
|
761436dc97
|
add support for utp over multiple interfaces (#1944)
|
2017-04-25 23:00:41 -04:00 |