arvidn
|
b8726bd4f6
|
refactor discover_device() away from upnp
|
2020-01-20 14:27:16 +01:00 |
arvidn
|
f5ebd4e354
|
simplify natpmp by requiring it to be tied to a specific network, and use get_gateway() and remove unused get_default_route() functions
|
2020-01-20 01:24:22 +01:00 |
arvidn
|
a53d3a8746
|
factor out get_gateway function and add unit tests. IPv6 gateways are not addressed in the same network, so we can't use match_addr_mask(). Assume all local IPv6 addresses do not have a gateway
|
2020-01-19 08:27:33 +01:00 |
arvidn
|
88d9c05e3c
|
expand IPv4 in expand_unspecified_address
|
2020-01-19 08:27:33 +01:00 |
arvidn
|
0961427b50
|
expand unspecified to loopback as well
|
2020-01-19 08:27:33 +01:00 |
arvidn
|
4ceb2ea467
|
limit tracker announces and SOCKS5 connection attempts to listen_socket_t that actually can reach the target
|
2020-01-19 08:27:33 +01:00 |
arvidn
|
d13109426a
|
fix test_lsd to pass reliably
|
2020-01-18 03:20:20 +01:00 |
arvidn
|
df85b31490
|
deprecate and remvoe broadcast_lsd setting
|
2020-01-16 16:02:00 +01:00 |
arvidn
|
fa79697f45
|
deprecate (and remove) upnp_ignore_nonrouters setting
|
2020-01-16 10:35:50 +01:00 |
arvidn
|
659a78eb56
|
improve test_upnp by responding with a unicast message
|
2020-01-15 08:03:33 +01:00 |
arvidn
|
96695fa714
|
fix build_netmask to treat the count as a prefix and add tests
|
2020-01-06 20:23:13 +01:00 |
arvidn
|
af3d084092
|
convert the duplex enum into a flags field, on listen_socket_t and listen_endpoint
|
2020-01-06 20:22:55 +01:00 |
Arvid Norberg
|
0675bd263f
|
add new socks5_alert to trouble shoot SOCKS5 proxies
|
2019-12-28 17:57:44 +01:00 |
Arvid Norberg
|
55460a60bc
|
fix the documentation generation tool to work for flags, and other global constants. Improve documentation
|
2019-12-19 01:50:22 +01:00 |
arvidn
|
0063e43650
|
silence buggy nodiscard diagnostic on MSVC
|
2019-12-17 02:16:59 +01:00 |
arvidn
|
68196dceae
|
fix erroneous event=completed tracker announce when checking files
|
2019-12-15 11:21:46 +01:00 |
arvidn
|
59a29a44e2
|
promote errors in parsing listen_interfaces to post listen_failed_alert
|
2019-12-09 06:54:31 +01:00 |
arvidn
|
b5790b982b
|
fix issue of rapid calls to file_priority() clobbering each other
|
2019-12-04 22:04:13 +01:00 |
arvidn
|
97a79d2dba
|
fixed restoring of trackers, comment, creation date and created-by in resume data
|
2019-11-25 14:21:55 +01:00 |
arvidn
|
a53d090313
|
fix handling of torrents with too large pieces
|
2019-11-25 02:46:55 +01:00 |
arvidn
|
33d006df99
|
add unit tests for http_connection over plain HTTP proxy
|
2019-11-21 08:40:36 +01:00 |
arvidn
|
0ce4e576e6
|
disable wait_for_alert test, since it relies on accurate wall-clock timings, which aren't necessarily possible on some CIs
|
2019-11-21 08:36:12 +01:00 |
Arvid Norberg
|
afb5d842ff
|
test_resume fix
|
2019-11-19 01:46:39 +01:00 |
Arvid Norberg
|
5145664562
|
force python interpreter for mingw build on appveyor
|
2019-11-19 01:46:39 +01:00 |
Arvid Norberg
|
f4ab272c5c
|
attempt to fix warning
|
2019-11-19 01:46:39 +01:00 |
Arvid Norberg
|
ad787d2a4f
|
fix test_flags (for windows)
|
2019-11-19 01:46:39 +01:00 |
Arvid Norberg
|
8abd878ed4
|
fix creating directory in test_utp
|
2019-11-19 01:46:39 +01:00 |
Arvid Norberg
|
fbb7c1e2e3
|
fix test_receive_buffer. print errors in test_utp.cpp
|
2019-11-19 01:46:39 +01:00 |
Arvid Norberg
|
54edd434f4
|
wait until python gets running to open its socket
|
2019-11-19 01:46:39 +01:00 |
Arvid Norberg
|
76f53297a9
|
update appveyor image and boost version. explicitly use python2 for test scripts (as the SSL behavior has changed in python 3 in non-trivial ways)
|
2019-11-19 01:46:39 +01:00 |
arvidn
|
818cc1c495
|
set terminate handler in test framework to print stacktrace if called by test. Install signal handler on windows
|
2019-11-03 05:56:44 -08:00 |
arvidn
|
271bc55694
|
update SSL test certificates
|
2019-11-03 05:56:22 -08:00 |
arvidn
|
c8f3063f25
|
fix SSL test
|
2019-10-15 10:22:19 +02:00 |
arvidn
|
9c970550e3
|
fix clang warning on empty statements by fixing the test macros
|
2019-09-24 01:28:43 +02:00 |
Arvid Norberg
|
08b6a112c0
|
fix the asserts=on and invariant-checks=on default build. Right now you can't change them in debug builds. Just make those defaults when building tests and examples. Also enable debug-iterators by default in tests and examples
|
2019-09-16 00:21:53 -06:00 |
Arvid Norberg
|
2f5fd13a59
|
put default build configuration for tests in a variable, to avoid repetition. Make all tests built as individual executables again
|
2019-09-15 15:48:31 -06:00 |
arvidn
|
beea1eb731
|
fix over-eager TORRENT_ABI_VERSION check in test_bencoding
|
2019-09-15 05:53:49 +02:00 |
arvidn
|
d08fa164d2
|
fix issue where pieces would be hashed despite disable_hash_checks was set
|
2019-09-13 22:38:18 +02:00 |
arvidn
|
9b1607a63c
|
fix updating of is_finished torrent status, when changing piece priorities
|
2019-09-07 10:45:25 +02:00 |
arvidn
|
a3440e54bb
|
make aux::session_settings thread-safe. this allows all threads to share the same settings object, which has low contention and is rarely updated
|
2019-09-01 03:41:36 +02:00 |
arvidn
|
b2c3b4dbf8
|
add spaces around user defined literal suffix operators
|
2019-08-21 14:23:46 +02:00 |
arvidn
|
07ab3b9739
|
add feature to create an affinity to pick adjecent pieces aligned to 4MiB extents. It's an attempt to improve disk I/O, by writing larger contiguous ranges of bytes. It's off by default.
|
2019-08-17 12:32:47 +02:00 |
arvidn
|
ffd4b39b09
|
improve hack in file_storage::symlink
|
2019-08-13 21:30:23 +02:00 |
Arvid Norberg
|
ff113a262c
|
make it a bit more likely to split the last bucket in the DHT routing table
|
2019-08-12 15:08:49 -07:00 |
Arvid Norberg
|
f40ecac4dd
|
improve testing on appveyor. revert appveyor image
|
2019-08-06 21:55:47 -07:00 |
Arvid Norberg
|
f23f96ea1f
|
fix win32 test stdout redirection
|
2019-08-06 21:55:47 -07:00 |
Arvid Norberg
|
bd0d011536
|
make test_dht deterministic
|
2019-07-31 19:04:29 -07:00 |
Arvid Norberg
|
e539846266
|
fix integer overflow in chunked http parser
|
2019-07-30 11:16:05 -07:00 |
arvidn
|
b1b03a0d77
|
factor out and unit test parts of the DHT routing table logic that handles the affinity of nodes to insert. Specifically, make sure the even distribution within routing table buckets works correctly
|
2019-07-30 07:56:18 -07:00 |
arvidn
|
8e23f9cc92
|
improve file_storage::sanitize_symlinks
|
2019-07-29 06:10:04 -07:00 |