0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 05:08:59 +02:00

ircd::server: Fix the interrupted link open to close to delete transit.

This commit is contained in:
Jason Volk 2018-03-12 18:59:38 -07:00
parent 79f6974f86
commit 8091bdd007

View file

@ -601,6 +601,13 @@ ircd::server::peer::handle_open(link &link,
string(remote),
what(eptr));
if(op_fini)
{
assert(link.finished());
handle_finished(link);
return;
}
link.close(net::dc::RST);
return;
}
@ -1201,7 +1208,6 @@ ircd::server::link::handle_close(std::exception_ptr eptr)
if(op_init)
{
assert(bool(eptr));
op_init = false;
}
if(peer)