mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
ircd::server: Attempt hard close on discard error.
This commit is contained in:
parent
208c081a62
commit
f9b5b2ee5b
1 changed files with 3 additions and 0 deletions
|
@ -2326,6 +2326,9 @@ ircd::server::link::discard_read()
|
|||
{
|
||||
"%s", string_view{msg}
|
||||
};
|
||||
|
||||
if(!discard)
|
||||
this->close(net::dc::RST);
|
||||
}
|
||||
|
||||
size_t
|
||||
|
|
Loading…
Reference in a new issue