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
1 changed files with 1 additions and 1 deletions

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 {};