Skip to content

Commit

Permalink
Merge pull request #8900
Browse files Browse the repository at this point in the history
438554e properly terminate interrupted TCP connection. fixes #8685 (j-berman)
  • Loading branch information
luigi1111 committed Jul 7, 2023
2 parents f173bf6 + 438554e commit bd96288
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 bd96288

Please sign in to comment.