Commit Graph

403 Commits

Author SHA1 Message Date
Arvid Norberg 7267794c02 Merge branch RC_2_0 into RC_2_1 2026-06-12 11:36:14 +02:00
hussainarslan bf839c0f89 Fix web seed Host header ports 2026-06-12 00:33:56 +02:00
Arvid Norberg c070b9fc5d Merge branch 'RC_2_0' into RC_2_1 2026-05-03 23:13:40 +02:00
Arvid Norberg 79ef5380d3 stricter checking of tracker URLs 2026-05-02 13:55:21 +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 bfecc673fd fix race in session_handle::wait_for_alert(). The alert pointer it returned could become invalid immediately, not safe to dereference. Update its signature 2026-04-29 20:31:34 +02:00
Arvid Norberg b72bf32ceb fix downloader with invalid hashes 2026-04-02 00:52:22 +02:00
Arvid Norberg 6e9c9102f8 add feature to only validate the v2 hashes for hybrid torrents 2026-04-02 00:52:22 +02:00
Mark Yu 53b8aaf248 add new test to reject invalid tracker url. update existing test to reject invalid tracker urls 2026-03-14 07:52:15 +01:00
Arvid Norberg 28d1558c07 Merge branch 'RC_2_0' 2026-03-05 07:38:04 +01:00
Arvid Norberg 9ecebca6e2 fixup patch and remove unused test feature 2026-02-15 23:59:15 +01:00
arvidn 0465656c71 Merge branch 'RC_2_0' 2025-07-26 00:18:29 -07:00
Arvid Norberg 23388c17ff add option to send host header in HTTP proxy CONNECT command (#7710)
* add option to send host header in HTTP proxy CONNECT command

* land bearx3f's fix

* fixup
2025-07-18 08:04:57 +02:00
Arvid Norberg fe101a3cae deprecate torrent_info constructors that load torrents 2025-02-14 08:33:58 +01:00
Arvid Norberg 69001184e1 transition more test facilities to use add_torrent_params and load_torrent_buffer() instead of the deprecated use of torrent_info 2025-02-13 16:19:50 +01:00
Arvid Norberg c5d6934dec update generate_torrent() test function to return add_torrent_params 2025-02-12 15:42:21 +01:00
Arvid Norberg 04c89ca719 update peer_alert to support i2p endpoints 2025-02-04 17:08:28 +01:00
Quinten Stokkink 9ab6eea098 fix flaky test_privacy on mac 2024-06-27 09:17:33 +02:00
arvidn 52ad1941a9 merged RC_2_0 into master 2023-02-25 11:38:08 +01:00
arvidn 4629245993 remove residual code from supporting builds without exceptions 2023-02-01 13:45:54 +01:00
arvidn e65623b317 add a simpler overload to bencode() returning a vector<char> 2022-12-19 02:57:06 +01:00
arvidn 6dd1e88cb1 introduce new API for create_torrent, to phase out the use of file_storage for creating torrents. Having a double-use for it complicates things 2022-10-09 08:23:43 +02:00
arvidn 9e0b1aecc5 use new create_torrent functions in tests and examples 2022-09-29 21:18:18 +02:00
arvidn 24a42189f4 merged RC_2_0 into master 2022-09-24 16:22:22 +02:00
arvidn ceeda1fcee fix flaky tests 2022-09-22 21:40:29 +02:00
arvidn f7e04af45d merged RC_2_0 into master 2022-09-18 23:56:48 +02:00
arvidn c17b59988a extend create_torrent object with piece_range(), end_piece() and total_size() 2022-09-18 17:13:08 +02:00
arvidn 964ffc57ba merge RC_2_0 into master 2022-06-23 08:07:28 +02:00
arvidn 550d3c7d9f update copyright headers 2022-06-22 21:42:55 +02:00
arvidn a639eb06e7 merge RC_2_0 into master 2022-06-19 00:01:34 +02:00
arvidn c543e9d6b7 fix warnings 2022-06-18 22:17:51 +02:00
arvidn c01e6fa767 merged RC_2_0 into master 2022-03-12 15:04:31 +01:00
arvidn 0c403745fd test merge RC_1_2 into RC_2_0 2022-02-27 18:44:22 +01:00
arvidn d92ba1561f use a namespace for unit test framework globals rather than reserved identifiers 2022-02-27 17:54:16 +01:00
arvidn 902f5b433b fix use of reserved names 2022-02-14 01:32:27 +01:00
arvidn e17afcc1db fix warning 2021-12-27 12:15:08 +01:00
arvidn 09d2227c3e fix warning 2021-12-26 16:46:20 +01:00
arvidn ef710a6bad merged RC_2_0 into master 2021-12-05 00:06:41 +01:00
arvidn 1fd93349fa merged RC_1_2 into RC_2_0 2021-11-28 11:44:17 +01:00
arvidn cd6261f42a fix warnings 2021-11-28 10:37:04 +01:00
arvidn 50dbe47d3b merged RC_2_0 into master 2021-08-28 10:27:25 +02:00
arvidn da098b7fe7 merged RC_1_2 into RC_2_0 2021-08-26 07:11:30 +02:00
arvidn 1178e4e0f3 fix msvc warning 2021-08-25 23:11:11 +02:00
arvidn 5b73c7b9a0 fix overflow in test utility to find an available port 2021-06-12 21:29:51 +02:00
arvidn 60da273c19 fix overflow in test utility to find an available port 2021-06-12 17:29:20 +02:00
arvidn 385602ab01 fix warnings in tests 2021-05-31 13:37:07 +02:00
arvidn 83e6ac718e merged RC_2_0 into master 2021-05-24 01:53:14 +02:00
arvidn 5715583c4a merged RC_1_2 into RC_2_0 2021-05-23 12:00:32 +02:00
arvidn ff1415fd88 improve TCP listen port selection for tests, to minimize risk of collision 2021-05-21 13:11:05 +02:00
arvidn 0d3f80bedd update copyright and license headers (of a few new files merged from RC_2_0) 2021-03-29 19:35:45 +02:00