mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 03:59:33 +00:00
properly terminate interrupted TCP connection. fixes #8685
This commit is contained in:
parent
50aa0e8b7f
commit
6c73dc742e
1 changed files with 1 additions and 4 deletions
|
@ -583,11 +583,8 @@ namespace net_utils
|
|||
break;
|
||||
}
|
||||
}
|
||||
else if (ec.value())
|
||||
terminate();
|
||||
else {
|
||||
cancel_timer();
|
||||
on_interrupted();
|
||||
terminate();
|
||||
}
|
||||
};
|
||||
m_strand.post(
|
||||
|
|
Loading…
Reference in a new issue