61ad52aefb
add piece availability to client_test
2022-12-11 01:54:44 +01:00
758c1037ee
add async piece availibility query, post_piece_availibility()
2022-12-11 01:54:44 +01:00
5915790721
add async download queue query, post_download_queue()
2022-12-11 01:54:44 +01:00
c251ec90f7
add async file_progress query, post_file_progress()
2022-12-11 01:54:44 +01:00
034ac8362a
add async peer_info query, post_peer_info()
2022-12-11 01:54:44 +01:00
1bbe09db44
fix warning
2022-12-11 01:54:44 +01:00
2741d67b7c
simplify alert handling in client_test
2022-12-11 01:54:44 +01:00
4f5b0537a1
remove python from codeql CI job
2022-12-08 09:17:31 +01:00
10bfde7f8c
Add CodeQL workflow for GitHub code scanning
2022-12-08 00:14:46 +01:00
4708ccef36
starting torrent: connect to peers found in add_torrent_params immediately
2022-12-07 22:25:16 +01:00
d7a44d533e
move some logic from torrent::add_extension_fun to torrent::add_extension
2022-12-07 22:25:16 +01:00
5ff37fac25
add CIFuzz Github action
2022-12-06 16:47:22 +01:00
3891cd35c8
default built to require windows 7
2022-11-28 10:18:25 +01:00
28213fd2f2
bump brew python version to 3.11 in CI
2022-11-28 06:59:38 +01:00
64817e0e87
fixup changelog
2022-10-23 13:28:40 +02:00
7ef27bf3b1
fix typos, highlighted by @ntfshard
2022-10-22 22:15:45 +02:00
a58400b3fb
Clarify printf argument flags
2022-10-22 22:15:28 +02:00
b21cf127d8
Removed unused var
2022-10-22 22:15:28 +02:00
a0390dc466
merged RC_1_2 into RC_2_0
2022-10-22 13:58:43 +02:00
c362f5f110
back-port fix for closing files when stop-when-ready triggers
2022-10-22 13:15:34 +02:00
3efaaa8859
Update changelog
2022-10-22 01:42:06 +02:00
8bbd54c521
Continue to ack incoming uTP data while finalizing the connection
2022-10-22 01:42:06 +02:00
cdd52b70a2
Fix sending ST_FIN packet while the socket is stalled
...
The send_pkt(pkt_fin) call in send_fin() will fail if the socket is currently stalled. This can be picked up once the socket becomes writable again.
2022-10-22 01:42:06 +02:00
4d578adc96
Fix uTP streams timing out instead of closing cleanly
...
In order to mark a ST_FIN packet as ack'd, maybe_inc_acked_seq_nr() needs to allow acked_seq_nr to reach seq_nr once in the fin-sent state. For this to work, the ST_FIN packet must also be stored in m_outbuf once sent.
Also, make sure that no further playload is picked up from the write buffer/nagled packet and sent out with the fin packet or any further acks as the sequence number should no longer be able to increase.
2022-10-22 01:42:06 +02:00
ff5174f37d
Safe usage of strncpy
2022-10-21 14:02:11 +02:00
c5c0cb82f1
Fix for C bindings
2022-10-21 14:02:11 +02:00
b09d346bca
update setup.py to match (sort of) RC_1_2
2022-10-21 10:11:21 +02:00
40a2f6fb41
prevent sending data on a uTP socket after closing it
2022-10-21 03:10:32 +02:00
83c5b1e009
Fix: back-port bytes-in-flight uTP fix
...
The previous commit had moved some code from another backport prior to it being merged. This removes the original code.
2022-10-20 15:03:25 +02:00
247b9f89dd
pre-commit autoupdate
2022-10-20 14:59:03 +02:00
44fd0b2514
use correct mirror for flake8 pre-commit hook
2022-10-20 14:59:03 +02:00
161a474f6e
back-port bytes-in-flight uTP fix
2022-10-17 07:49:33 +02:00
854eaa2bf3
Resend uTP acks that fail to send due to stalling
2022-10-17 07:48:36 +02:00
64bef76ea6
simplify integer_to_str
2022-10-17 07:47:40 +02:00
175fa33bdc
bump version to 2.0.8
2022-10-16 21:29:23 +02:00
1d5edabd47
update set_version.py
2022-10-16 21:29:23 +02:00
a11a6479cc
merged RC_1_2 into RC_2_0
2022-10-16 16:37:29 +02:00
6e17f5f042
fix m_bytes_in_flight invariant and packet counters in the event of the UDP socket stalling
2022-10-16 01:28:55 +02:00
227b34fc23
add uTP test exercising a stalled socket
2022-10-16 01:28:55 +02:00
0bd446f1bc
fix parse_utp_log.py to work with python3
2022-10-16 01:28:55 +02:00
c83b8a8158
When using older boost versions, boost-system is a 'PUBLIC' link target.
2022-10-10 10:02:31 +02:00
69b8045d60
fix some disk-io counters. primarily num_read_back
2022-10-09 12:53:15 +02:00
5f6cfee933
add build configuration to simulate slow disk writes
2022-10-09 10:20:58 +02:00
db7002e4ef
add write_torrent_file_buf() overload for generating .torrent files
2022-09-30 23:41:54 +02:00
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
e1460bc0c2
When the uTP socket stalls, mark failed packets for resend
2022-09-26 12:31:56 +02:00
3e3fc5864b
fix copy_file when the file ends with a sparse region
2022-09-26 01:15:41 +02:00