Commit Graph

1701 Commits

Author SHA1 Message Date
b6d09d9368 add create_torrent::generate_buf() function to generate into a buffer 2022-09-30 20:54:08 +02:00
3e3fc5864b fix copy_file when the file ends with a sparse region 2022-09-26 01:15:41 +02:00
4269b7be31 When the uTP socket stalls, mark failed packets for resend 2022-09-25 23:58:21 +02:00
8786d17e59 fix trackers being stuck after session pause/resume 2022-09-24 16:17:12 +02:00
31cedce075 fix bug in hash_picker with empty files 2022-09-23 19:25:01 +02:00
5f8fa3e9f3 update changelog 2022-09-21 11:17:09 +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
039aed9aa0 update changelog 2022-09-16 08:54:42 +02:00
2eb6c21995 improve error reporting from file opy and move 2022-09-16 08:53:51 +02:00
74d82a0cd7 tweak pad file placement to match reference implementation (tail-padding) 2022-09-15 13:01:59 +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
239f7e6a69 ignore duplicate network interface change notifications on linux 2022-09-08 19:41:24 +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
4ea2feaaa7 fix total_want/want accounting when forcing a recheck 2022-09-07 22:15:05 +02:00
4c2d2ad18e expose userdata via torrent_handle 2022-09-07 21:24:34 +02:00
86fff3d833 merged RC_1_2 into RC_2_0 2022-09-03 09:35:30 +02:00
c513c5dca7 fix merging metadata with magnet links added on top of existing torrents 2022-08-26 21:05:58 +02:00
13fd38fc32 add torrent_flag to default all file priorities to dont_download 2022-08-24 09:44:47 +02:00
8219b61d43 make the SOCKS5 client tolerate a domain name in the response to UDP ASSOCIATE (and ignore it). Patch by Andrei Borzenkov 2022-08-23 17:46:14 +02:00
2d34455ad2 fix renaming of filenames that are too long for the filesystem. Specifically where checking if the file exists would abort the rename operation. patch by xnoreq 2022-08-23 15:21:38 +02:00
12daf286dc merged RC_1_2 into RC_2_0 2022-08-14 09:15:00 +02:00
1f09a847d0 make LSD code avoid using select_reactor 2022-08-14 08:52:05 +02:00
d6af6159f8 make UPnP code not use select_reactor 2022-08-14 08:52:05 +02:00
5ec6a005c8 update changelog 2022-08-10 07:59:30 +02:00
f58ea3043a open files with no_cache set in O_SYNC mode 2022-08-09 22:14:12 +02:00
722d78250a bump version to 2.0.7 2022-07-17 09:53:27 -07:00
373fbe83e1 merged RC_1_2 into RC_2_0 2022-07-16 21:25:48 -07:00
7931be9206 bump version to 1.2.17 2022-07-16 21:17:52 -07:00
9cbecaa64b make copy_file_range() fall back to manual copy when it fails with EXDEV 2022-07-16 12:09:41 -07:00
2dd58cb330 make file_pool_view serialize opening of files, rather than race each other. When the same file is needed by multiple threads 2022-07-15 10:37:22 -07:00
1218588101 merged RC_1_2 into RC_2_0 2022-07-06 09:26:06 +02:00
822975349a fix issue where stop-when-ready would not close files 2022-07-06 09:13:10 +02:00
0aa7657aaf fixed tracker connections spinning when hostname lookups stall 2022-07-05 23:47:55 +02:00
1cda7fba61 merged RC_1_2 into RC_2_0 2022-07-02 12:59:47 +02:00
77e93fbc10 fixed error in pkg-config file generation in Jamfile 2022-06-26 12:05:32 +02:00
6290539651 fix issue with merging two magnet link torrents into one hybrid 2022-06-18 22:17:51 +02:00
743f48199c load_torrent 2022-06-15 13:06:53 +02:00
232fc06206 use sync_file_range() on linux, when disabling write cache 2022-06-14 18:01:06 +02:00
daccf1c611 merged RC_1_2 into RC_2_0 2022-06-09 09:33:21 +02:00
0f89ba1cec improve backwards compatibility with loading magnet link resume files 2022-06-09 09:28:45 +02:00
beea19cc91 improve write_torrent_file and extend round-trip test 2022-06-06 12:06:30 +02:00
2f524f8779 fix file_num_blocks() and file_num_pieces() for empty files 2022-06-06 08:14:49 +02:00
34c75eb5f3 add new overload to make_magnet_uri that takes an add_torrent_params 2022-05-27 09:11:42 +02:00
3eb2fd7fb9 add missing protocol version to tracker_reply_alert and tracker_error_alert 2022-05-26 11:24:02 +02:00
7a5738c679 fix privilege issue with SetFileValidData() 2022-05-25 23:50:26 +02:00
5b9578785b add asynchronous overload of torrent_handle::add_piece() 2022-05-24 17:19:14 +02:00
be8313e35e merge RC_1_2 into RC_2_0 2022-05-22 14:17:25 +02:00