Commit Graph

708 Commits

Author SHA1 Message Date
Arvid Norberg 3809380aa5 use strong flag type in test_metadata_extension.cpp 2026-06-13 13:01:58 +02:00
Arvid Norberg 522df67432 test magnet links where the info-hash is updated 2026-06-13 12:12:51 +02:00
Arvid Norberg 2bd49c9039 Merge branch 'RC_2_0' into RC_2_1 2026-06-07 12:43:35 +02:00
Arvid Norberg e7e37dbf47 clear HTTP credentials on redirected web seeds 2026-06-07 03:14:46 +02:00
Arvid Norberg 007fbbd094 simplify disk_buffer_holder, to not store the buffer size 2026-05-31 00:51:05 +02:00
Arvid Norberg c276e3c943 Merge branch 'RC_2_0' into RC_2_1 2026-05-27 10:26:45 +02:00
Arvid Norberg 441ee908a3 bump libsimulator 2026-05-24 22:09:44 +02:00
Arvid Norberg 4f937cd85a fix bug in tracker announcements involving i2p trackers 2026-05-20 11:03:27 +02:00
Arvid Norberg 7565b5a764 post peer_disconnected_alert even if the peer never completed the handshake 2026-04-29 08:36:36 +02:00
Arvid Norberg 7ada1f60cd fixup merge 2026-04-21 14:25:33 +02:00
Arvid Norberg 7820d8e188 Merge remote-tracking branch 'origin/RC_2_0' into master 2026-04-21 14:15:56 +02:00
Arvid Norberg 25c3db1ded run cppcheck on simulations. suppress false positives 2026-04-09 16:42:44 +02:00
arvidn 98803df991 update test output to integrate better with github actions 2026-04-04 17:22:33 +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 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
Arvid Norberg 8a43b43a76 only keep a pointer rather than a whole disk_buffer_holder in the cached_block_entry in the cache, decreasing the overhead of the cache 2026-03-29 11:43:28 +02:00
Arvid Norberg ead5c40a8d free disk buffers in bulk 2026-03-25 12:57:49 +01:00
Arvid Norberg d1bd7263a4 remove the bottled feature from http_connection. It's always enabled. 2026-03-07 08:14:19 +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
tanawatra.c bf79a1a2b7 update SSL proxy connection tests to verify Host header format based on send_host_in_connect setting; ensure compliance with RFC 9110 and RFC 9112 2026-02-15 23:59:15 +01:00
Arvid Norberg a01469c8d1 Merge branch 'RC_2_0' 2025-09-09 09:20:48 +02:00
Arvid Norberg 883569e195 don't link against libboost_system explicitly, as it's deprecated. It's a header-only library now 2025-09-08 16:54:23 +02: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
arvidn 77eb55f31e Transition resolving duplicate and invalid filenames to the new structure where torrent_info and file_storage are immutable and renamed files are recorded in a separate structure. 2025-07-15 17:45:39 +02:00
Arvid Norberg f51bffbd19 make torrent_info immutable to avoid copying it 2025-06-29 15:12:16 +02:00
Arvid Norberg c48cdadcdb Merge branch 'RC_2_0' 2025-03-30 17:50:07 +02:00
Arvid Norberg 26ddf30e75 don't set timers for current time, in simulations 2025-03-29 16:24:12 +01:00
Arvid Norberg 2eeb6a1e0c fix issue in test_disk_io simulation event queue 2025-03-29 16:24:12 +01:00
Arvid Norberg b8c0dba4dd deprecate make_magnet_uri() overloads that take torrent_handle and torrent_info, in favor of add_torrent_params. Also deprecate web seeds being stored in torrent_info 2025-02-15 00:54:09 +01:00
Arvid Norberg fe101a3cae deprecate torrent_info constructors that load torrents 2025-02-14 08:33:58 +01:00
Arvid Norberg b616aa1f4a deprecate storing piece layers in torrent_info, in favor of add_torrent_params 2025-02-13 20:05:34 +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 04c89ca719 update peer_alert to support i2p endpoints 2025-02-04 17:08:28 +01:00
Arvid Norberg 62eae38e4b merged RC_2_0 into master 2024-11-17 11:40:23 +01:00
Maxime THIEBAUT f9dde8240f Add announce_port support 2024-11-09 10:20:19 +01:00
arvidn 60eead7e5a Merge branch 'RC_2_0' 2024-10-29 13:32:46 +01:00
Maxime THIEBAUT 6a2c1eef6f Bump libsimulator submodule 2024-10-27 16:10:24 +01:00
arvidn 278443352d Merge branch 'RC_2_0' 2024-10-01 11:12:16 +02:00
xavier2k6 790b6629f6 Fix some typos 2024-09-29 14:13:46 +02:00
arvidn 5f7cf4b926 improve debug facilities of swarm simulations, by saving each each individual peers log 2024-07-27 10:57:46 +02:00
arvidn aa313aed7b Merge branch 'RC_2_0' 2024-06-21 13:43:20 +02:00
arvidn 98f1b2541a bump libsimulator submodule 2024-05-11 17:51:56 +02:00
arvidn 7dab72b351 add feature to enable interruption of disk I/O worker threads 2024-02-20 09:45:25 +01:00
arvidn 8e53eba82f Merge branch 'RC_2_0' 2023-08-26 11:15:27 +02:00
luzpaz 63373cf012 Fixes various typos
Found via `codespell -q 3 -S "*.pem,*.torrent,./docs/hunspell,./src/puff.cpp" -L bu,fo,folx,ihs,ot,readd,requestor,te`
2023-08-24 07:52:41 +02:00
arvidn 8daa66e385 merged RC_2_0 into master 2023-03-18 21:48:00 +01:00
arvidn 06f98369cb fix issue in retrying trackers in tiers > 0 2023-02-27 20:22:38 +01:00