xavier2k6
a711a4a323
GHA CI: Replace third party action with node24 compatible variant
...
* [pre-commit/action](https://github.com/pre-commit/action ) -> [j178/prek-action](https://github.com/j178/prek-action )
Closes #8317 .
2026-05-05 12:56:55 +02:00
Arvid Norberg
bd2443de34
fix incorrect invariant check in torrent.cpp
2026-05-05 11:01:00 +02:00
Arvid Norberg
d4df31f3c3
add warning message to read_resume_data()
2026-05-03 15:48:02 +02:00
Arvid Norberg
fa2f95785e
remove cirrus CI
2026-05-03 02:17:55 +02:00
Arvid Norberg
7a77b2fa40
make parse_magnet_uri() stricter
2026-05-03 02:17:36 +02:00
Arvid Norberg
49f73dcb4f
fix edge case in socks5 UDP unwrap()
2026-05-03 00:19:56 +02:00
Arvid Norberg
c5578ee20a
fix off-by-one in loading banned peers from resume data
2026-05-02 22:45:55 +02:00
Arvid Norberg
5a06c6b9a8
tighten validation of v2 hash requests
2026-05-02 20:30:30 +02:00
Arvid Norberg
79ef5380d3
stricter checking of tracker URLs
2026-05-02 13:55:21 +02:00
Arvid Norberg
b4e9e2471e
fix socks5 parsing edge case
2026-05-02 10:57:05 +02:00
Arvid Norberg
a01525ac50
clean up some strncmp() by using string_view
2026-05-01 23:14:51 +02:00
Arvid Norberg
c4552f38c5
backport the wait_for_alert() fix from RC_2_1
2026-04-29 21:37:05 +02:00
Arvid Norberg
e4b5121145
fixed piece-picker accounting issue for filtered pieces
2026-04-29 10:40:28 +02:00
xavier2k6
8e6f3a8889
Bump some pre-commit hook revs
2026-04-29 09:00:30 +02:00
Arvid Norberg
92504c4e4d
fix flaky test involving web_server.py in windows
2026-04-28 14:25:56 +02:00
qstokkink
125be04f17
Added MacOS-15 intel builds
2026-04-28 11:40:05 +02:00
Arvid Norberg
a68a697567
NATPMP fixes
2026-04-27 17:42:27 +02:00
xavier2k6
3c3f64e7a7
Update cibuildwheel workflow
...
* Bumped `actions/download-artifact` -> `v8`
* Bumped `actions/upload-artifact` -> `v7`
* Bumped `actions/checkout` -> `v6`
* Bumped `actions/cache` -> `v5`
* Bumped `pypa/cibuildwheel` -> `v2.23.4`
* Bumped `actions/setup-python` -> `v6`
* Bumped `docker/setup-qemu-action` -> `v4`
2026-04-25 17:24:28 +02:00
Arvid Norberg
afd5441737
OSSFuzz is now pointing to the RC_2_1 branch, where it enables webtorrent in fuzzers. In order to make CIFuzz work for RC_2_0, this adds a dummy build feature
2026-04-25 09:11:36 +02:00
xavier2k6
410df63163
Use Boost 1.91.0 in Windows CI
2026-04-23 16:40:45 +02:00
Arvid Norberg
82808a2920
add ubuntu-arm to Python binding CI
2026-04-21 10:52:54 +02:00
Arvid Norberg
5e5cce3988
some more asserts
2026-04-19 11:34:03 +02:00
Arvid Norberg
9cd7f4190b
apply adjacent piece-passed at the end of all validation
2026-04-19 11:34:03 +02:00
Arvid Norberg
f9ed39c349
add warning to get_download_queue() documentation. regenerate forward header and convenience header
2026-04-19 10:06:22 +02:00
Chocobo1
723970d9b7
Add support for OpenSSL 4.0
...
The accessor functions for `ASN1_STRING` are available since OpenSSL 1.0.1 so we are free to use
them without conditional guards.
See: https://openssl-library.org/post/2026-04-13-asn1_string/
Closes #8268 .
2026-04-19 07:40:09 +02:00
qstokkink
204c66b3a9
Added OpenSSL Windows Action
2026-04-17 10:26:31 +02:00
Arvid Norberg
0837365feb
backport fixes detected by cppcheck in master
2026-04-09 07:56:10 +02:00
Arvid Norberg
01bc261d9c
fix flaky test in test_flags
2026-04-06 09:21:30 +02:00
Arvid Norberg
455e9da7f1
add setting for NAT-PMP lease duration ( #8239 )
2026-04-02 12:44:42 +02:00
lzhzh1
b9a4a530d3
Allow multiple connections from the same Peer ID ( #8215 )
...
* if the value of settings_pack::allow_multiple_connections_per_ip is true, then skip the check for the same pid
* add new setting
* No change to ABI
* Update test file
* Remove invalid tests in test_peer_list.cpp as allow_multiple_connections_per_pid has no effect on peer_list
* Restore the test file
* add new test
* add new test
* fix peer_list.hpp
* Delete the currently unnecessary fields
* Merge test code
2026-04-02 00:58:20 +02:00
Arvid Norberg
8b8242fe9b
fixup recent change to piece_size_for_req(). it's a bit more complicated; v1 (and hybrid) torrents still need the full piece size to compute the correct piece hash
2026-03-29 14:54:25 +02:00
Arvid Norberg
aa59c7c583
fix to_req() to not request pad-space for v2-only torrents
2026-03-28 17:02:05 +01:00
Arvid Norberg
bf2f3388cc
fix socks5 issues
2026-03-28 12:48:15 +01:00
Chocobo1
5d3dc21558
Reserve vector space before use
...
So the vector won't trigger reallocation when adding data.
2026-03-28 07:46:02 +01:00
Andrej730
d22bb50b05
cmake - fix python install path being treated as absolute
...
Otherwise it was installing binary in my case (Windows) to `Installing: /Lib/site-packages/libtorrent.cp313-win_amd64.pyd` which means `"L:\Lib\site-packages\libtorrent.cp313-win_amd64.pyd"` instead of `L:/my/install/prefix/Lib\site-packages\libtorrent.cp313-win_amd64.pyd`
2026-03-27 18:26:47 +01:00
xavier2k6
f54abf695e
Update nick-fields/retry action for node 24 compatibility
...
Addresses below warning:
"Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: nick-fields/retry@v3."
2026-03-21 15:21:02 +01:00
Arvid Norberg
0b2b36488a
fix issue in loading v2 resume data merkle trees
2026-03-15 23:18:07 +01:00
Arvid Norberg
740a0b9aea
bump version to 2.0.12
v2.0.12
2026-03-13 23:14:28 +01:00
Arvid Norberg
078a3e7223
strip lib-prefix and .a-suffix from library dependencies in the generated pkg-config file
2026-03-13 11:28:53 +01:00
Mark Yu
481c33e9d8
reject invalid tracker urls ( #8202 )
2026-03-13 11:12:08 +01:00
Arvid Norberg
3d32713d50
preserve file priorities when force-recheck re-creates the piece picker
2026-03-11 22:53:21 +01:00
Arvid Norberg
a782355cd3
fix issue when saving resume data on a magnet link without metadata
2026-03-07 17:03:35 +01:00
Arvid Norberg
dea98c759c
fix issue where v2 torrents could pass the same piece twice
2026-03-07 17:03:35 +01:00
Arvid Norberg
b4e41fad36
fix peer invariant check
2026-03-07 17:03:35 +01:00
qstokkink
229b02884f
Fixed Python type hints
2026-03-07 10:48:10 +01:00
xavier2k6
cabad2505a
Apply "black" formatting changes
2026-03-06 11:40:36 +01:00
xavier2k6
d006bc1505
Raise numerous pre-commit hook revisions
2026-03-06 11:40:36 +01:00
xavier2k6
3ecc6d8ace
Use latest available stable version of Python (3).
2026-03-06 11:40:36 +01:00
xavier2k6
163d36465f
define OPENSSL_NO_DTLS1 when linking against openssl
2026-02-21 23:04:42 +01:00
xavier2k6
311f5e3fa0
define OPENSSL_NO_TLS1_1 when linking against openssl
2026-02-21 23:04:42 +01:00