1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 07:42:37 +00:00

fixup! fix: implement proper download limit for uTP (#6416) (#6481)

This commit is contained in:
Yat Ho 2024-01-04 01:27:11 +08:00 committed by GitHub
parent 22cde5d4b9
commit dce0d37130
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -734,7 +734,7 @@ void tr_peerIo::utp_init([[maybe_unused]] struct_utp_context* ctx)
// one was not going to be sent.
if (std::empty(io->inbuf_))
{
utp_read_drained(io->socket_.handle.utp);
utp_read_drained(args->socket);
}
}
return {};