properly terminate interrupted TCP connection. fixes #8685

This commit is contained in:
j-berman 2023-02-03 22:30:32 +01:00 committed by BotoX
parent 50aa0e8b7f
commit 6c73dc742e

View File

@ -583,11 +583,8 @@ namespace net_utils
break; break;
} }
} }
else if (ec.value())
terminate();
else { else {
cancel_timer(); terminate();
on_interrupted();
} }
}; };
m_strand.post( m_strand.post(