Commit Graph

1275 Commits

Author SHA1 Message Date
Arvid Norberg 007fbbd094 simplify disk_buffer_holder, to not store the buffer size 2026-05-31 00:51:05 +02:00
Arvid Norberg 1c79dace08 connection_tester: save merkle trees to separate file to improve test startup-delay 2026-05-29 19:27:01 +02:00
Arvid Norberg c1c6077232 fix connection_tester output 2026-05-24 21:47:56 +02:00
Arvid Norberg cb25dd8bb6 fix v2 piece hash generation in connection_tester 2026-05-21 12:00:57 +02:00
Arvid Norberg 23b8b3b6be fix generating v2 resume data in connection_tester 2026-05-19 17:46:46 +02:00
Arvid Norberg 7110684f1d add feature to connection_tester to generate resume data 2026-05-19 14:02:27 +02:00
Arvid Norberg e66f610f6e fix typo in client_test 2026-05-17 19:39:55 +02:00
Arvid Norberg c86abde5b2 add option to print status regularly 2026-05-17 05:05:08 +02:00
Arvid Norberg 0ea13650b4 improve allocations 2026-05-17 05:05:08 +02:00
Arvid Norberg 60e808e2da support v2 torrents and hash-request-flooding 2026-05-17 05:05:08 +02:00
Arvid Norberg cf9a6d08bc fix connection_tester with single connection and allowed fast 2026-05-15 22:42:33 +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 cd8c96e111 local_connection is deprecated, use outgoing_connection 2026-04-12 19:00:03 +02:00
Arvid Norberg 30fa7e7959 add post_file_status() as an asynchronous alternative to file_status() 2026-04-01 00:36:07 +02:00
Arvid Norberg 25c455cb10 add post_file_priorities() to query them asynchronously 2026-03-31 16:53:34 +02:00
Arvid Norberg ead5c40a8d free disk buffers in bulk 2026-03-25 12:57:49 +01:00
arvidn 5abab0509c add new multi-threaded disk I/O subsystem using preadv and pwritev 2026-03-03 15:01:55 +01:00
Arvid Norberg d18650c141 fixup printing piece 2026-02-15 10:35:49 +01:00
Arvid Norberg 7f57783d14 support printing detailed downloading pieces for large pieces. Toggle compact pieces 2026-02-11 13:37:11 +01:00
Arvid Norberg 6d4e2cc064 make the save path for part files configurable 2026-01-24 11:47:19 +01:00
Arvid Norberg 3940bd8b71 Merge branch 'RC_2_0' 2026-01-20 00:06:48 +01:00
Arvid Norberg 6d03ba5675 when building against OpenSSL, require at least version 1.1.1 2026-01-19 02:15:28 +01:00
Arvid Norberg b3c91fd76b Merge branch 'RC_2_0' 2026-01-04 17:57:51 +01:00
arvidn 15f596ece8 in client_test, print performance counters to a separate file 2026-01-04 16:16:13 +01: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
arvidn 0a7d2c11cc Merge branch 'RC_2_0' 2025-07-07 04:33:13 -07:00
arvidn 98e02bf5da fix new clang warnings 2025-07-07 13:15:03 +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 b94ea71957 fix literal operator declaration 2025-03-04 02:36:58 +01:00
Arvid Norberg fe101a3cae deprecate torrent_info constructors that load torrents 2025-02-14 08:33:58 +01:00
Arvid Norberg e04c15ee2a deprecate creator, comment and creation-date in torrent_info (in favor of add_torrent_params) 2025-02-12 19:53:50 +01:00
Arvid Norberg fd6c803424 update peer_info to hold a proper variant for i2p destination 2025-02-04 11:26:40 +01:00
Arvid Norberg 94d0a2e417 add build option debug-disk-pool to log disk buffers allocated by category 2024-11-16 16:36:53 +01:00
Arvid Norberg b8eb7edb70 improve printing of file progress in client_test 2024-10-25 22:07:44 +02:00
Arvid Norberg 3c862dc797 fix printing of piece-bar in client-test 2024-10-25 22:07:29 +02:00
arvidn a0cfd7553f add tool to scrape DHT for random torrent files 2024-10-21 00:02:20 +02:00
Arvid Norberg acb56b228c add new example program, to organize a fuzzing corpus of .torrent files 2024-10-20 22:36:41 +02: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 09829726da add option to select disk I/O backend to client_test 2024-02-24 11:41:02 +01:00
arvidn 4b3f5872e1 pass in whether a torrent has v1 and/or v2 hashes in storage_params 2024-02-20 09:14:21 +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 0bdc82a324 fix alignment of flags legend in client_test 2023-05-30 11:56:47 +02:00
arvidn d37eab2720 remove special purpose function to print availability matrix, use piece_matrix() 2023-05-30 11:56:47 +02:00
arvidn 8cadd7fc9b merge RC_2_0 into master 2023-05-21 09:55:01 +02:00
arvidn 87ee48b9ce client_test: support sorting torrents 2023-05-20 18:03:15 +02:00
arvidn 4d53f5a65c various minor improvements to client_test 2023-05-20 11:32:34 +02:00
arvidn 54d94bf2d6 fix printing of (large) pieces 2023-05-19 02:07:10 +02:00