1
mirror of https://github.com/monero-project/monero synced 2024-11-16 04:33:51 +01:00

properly terminate interrupted TCP connection. fixes #8685

This commit is contained in:
j-berman 2023-06-09 21:11:13 +02:00 committed by selsta
parent 2f45d5c615
commit 438554e1ab
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

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