Cancel outbound operations when disconnecting a peer

This commit is contained in:
Vitaliy Filippov
2020-02-11 21:17:10 +03:00
parent a66b34e04d
commit 1100ad44bd
3 changed files with 46 additions and 6 deletions
-1
View File
@@ -141,7 +141,6 @@ void osd_t::handle_read_reply(osd_client_t *cl)
if (req_it == cl->sent_ops.end())
{
// Command out of sync. Drop connection
// FIXME This is probably a peer, so handle all previously sent operations carefully
stop_client(cl->peer_fd);
return;
}