mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +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