mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +01:00
ircd::net: Close the socket on a handler unexpected.
This commit is contained in:
parent
5d1790fb0d
commit
354cadb7dc
1 changed files with 2 additions and 0 deletions
|
@ -1939,6 +1939,8 @@ catch(const std::exception &e)
|
|||
log.critical("socket(%p) async handler: unhandled exception: %s",
|
||||
this,
|
||||
e.what());
|
||||
|
||||
close(*this, dc::RST, close_ignore);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue