Commit Graph

13497 Commits

Author SHA1 Message Date
9c4d073413 python binding for generate_buf() 2022-09-30 20:54:08 +02:00
b6d09d9368 add create_torrent::generate_buf() function to generate into a buffer 2022-09-30 20:54:08 +02:00
92c86aab99 Resend uTP acks that fail to send due to stalling 2022-09-28 22:26:28 +02:00
9002cc763f ensure python bindings and simulations build without deprecated functions on CI 2022-09-27 11:55:49 +02:00
3e3fc5864b fix copy_file when the file ends with a sparse region 2022-09-26 01:15:41 +02:00
1f356d0550 update try_signal submodule 2022-09-26 00:54:13 +02:00
4269b7be31 When the uTP socket stalls, mark failed packets for resend 2022-09-25 23:58:21 +02:00
17e3fc3464 add some utility member functions to create_torrent 2022-09-25 15:11:55 +02:00
8786d17e59 fix trackers being stuck after session pause/resume 2022-09-24 16:17:12 +02:00
c526c2997f update projects page 2022-09-23 19:33:08 +02:00
31cedce075 fix bug in hash_picker with empty files 2022-09-23 19:25:01 +02:00
e950d14775 fix uses of deprecated functions in simulations 2022-09-23 17:04:16 +02:00
ceeda1fcee fix flaky tests 2022-09-22 21:40:29 +02:00
831822c54e Update state when need to save resume data 2022-09-22 18:38:30 +02:00
fbb9185801 update documentation for torrent_handle::save_resume_data 2022-09-22 16:09:24 +02:00
5f8fa3e9f3 update changelog 2022-09-21 11:17:09 +02:00
e4de026c9a expose mmapped file_open_mode flag 2022-09-21 01:25:48 +02:00
db40e7a100 add option to not memory map files below a certain size 2022-09-21 01:25:48 +02:00
c1f1fc6318 settings_pack now returns default values when queried for missing settings. This is especially helpful in the way settings are used in set_piece_hashes(), which otherwise would use 0 and false for anything not specified in the settings_pack 2022-09-20 14:41:27 +02:00
9f8ccc44ea Don't drop uTP's cwnd below 1*MSS due to latency 2022-09-20 14:08:47 +02:00
183be22846 Reset uTP timeout when sending packets
Also reset timeout after processing acks/sacks instead of before when recieving packets as it can effect the timeout period
2022-09-20 14:08:47 +02:00
c36c81b129 add file_storage alias (file_layout) 2022-09-20 08:15:02 +02:00
2ccc7dc930 update documentation for add_torrent_params 2022-09-19 23:59:50 +02:00
aa9d8f1d6e update documentation for torrent_file_with_hashes 2022-09-19 17:36:35 +02:00
b3d0148e64 disk io simplifications 2022-09-18 22:25:02 +02:00
25104f5863 improve error messages in connection_tester 2022-09-18 21:42:04 +02:00
dc795b906d more create_torrent tests 2022-09-18 17:56:47 +02:00
c17b59988a extend create_torrent object with piece_range(), end_piece() and total_size() 2022-09-18 17:13:08 +02:00
039aed9aa0 update changelog 2022-09-16 08:54:42 +02:00
75e8013987 fall back to full copy if SEEK_HOLE and SEEK_DATA isn't supported 2022-09-16 08:53:51 +02:00
2eb6c21995 improve error reporting from file opy and move 2022-09-16 08:53:51 +02:00
c1687bbf7f extend test coverage for create_torrent 2022-09-15 13:01:59 +02:00
74d82a0cd7 tweak pad file placement to match reference implementation (tail-padding) 2022-09-15 13:01:59 +02:00
de2de75773 use retry for windows simulations 2022-09-15 11:55:57 +02:00
b4048ec43d Update state when need to save resume data 2022-09-11 11:29:27 +02:00
d5f74cb7ed update changelog 2022-09-10 12:37:14 +02:00
12392fd859 support incoming SOCKS5 packets with hostnames as source address, for UDP trackers 2022-09-10 12:03:54 +02:00
30604673fe Modify the Nagle algorithm to allow one undersized packet in flight at a time 2022-09-09 18:17:12 +02:00
e17fdee2ed merged RC_1_2 into RC_2_0 2022-09-09 11:04:41 +02:00
268e37f5ad Backport setup.py from master (RC_2_0 only) 2022-09-09 10:57:43 +02:00
b5873f23b4 bump cibuildwheel workflow version 2022-09-09 09:24:59 +02:00
b19479bdc1 use toolset=darwin by default on macos 2022-09-09 09:24:31 +02:00
a692732082 For efficiency, pick up and send an undersized utp packet if there's room in the congestion window when 'forcing' a packet 2022-09-09 09:17:43 +02:00
239f7e6a69 ignore duplicate network interface change notifications on linux 2022-09-08 19:41:24 +02:00
ec033fcaff Backport setup.py formatting from master (RC_1_2 only) 2022-09-08 16:35:32 +02:00
6b60e2608d Prevent redundant deferred utp acks from being sent 2022-09-08 15:50:45 +02:00
5aabf74e50 don't memory map files smaller than 1 MiB, use pwrite/pread calls 2022-09-08 15:46:47 +02:00
0061352077 merged RC_1_2 into RC_2_0 2022-09-08 02:35:27 +02:00
544b617d4c fix wanted_done/done accounting when force-rechecking 2022-09-08 02:19:13 +02:00
60ab38b351 manually run pre-commit autoupdate 2022-09-07 22:27:09 +02:00