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:
parent
2f45d5c615
commit
438554e1ab
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user