libtorrent.org:test-merge-2

Last commit made on 2022-10-22
Get this branch:
git clone -b test-merge-2 https://git.launchpad.net/libtorrent.org

Branch merges

Branch information

Name:
test-merge-2
Repository:
lp:libtorrent.org

Recent commits

a0390dc... by arvidn <email address hidden>

merged RC_1_2 into RC_2_0

c362f5f... by arvidn <email address hidden>

back-port fix for closing files when stop-when-ready triggers

3efaaa8... by thrnz <email address hidden>

Update changelog

8bbd54c... by thrnz <email address hidden>

Continue to ack incoming uTP data while finalizing the connection

cdd52b7... by thrnz <email address hidden>

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.

4d578ad... by thrnz <email address hidden>

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.

ff5174f... by "ntfs.hard" <email address hidden>

Safe usage of strncpy

c5c0cb8... by "ntfs.hard" <email address hidden>

Fix for C bindings

b09d346... by arvidn <email address hidden>

update setup.py to match (sort of) RC_1_2

40a2f6f... by arvidn <email address hidden>

prevent sending data on a uTP socket after closing it