Skip to content

Commit

Permalink
Merge pull request #8731
Browse files Browse the repository at this point in the history
6c73dc7 properly terminate interrupted TCP connection. fixes #8685 (j-berman)
  • Loading branch information
luigi1111 committed Jun 27, 2023
2 parents 57c58fd + 6c73dc7 commit 97354d8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions contrib/epee/include/net/abstract_tcp_server2.inl
Original file line number Diff line number Diff line change
Expand Up @@ -583,11 +583,8 @@ namespace net_utils
break;
}
}
else if (ec.value())
terminate();
else {
cancel_timer();
on_interrupted();
terminate();
}
};
m_strand.post(
Expand Down

0 comments on commit 97354d8

Please sign in to comment.