mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2025-01-26 03:02:56 -03:00
Merge pull request #8900
438554e
properly terminate interrupted TCP connection. fixes #8685 (j-berman)
This commit is contained in:
commit
bd962882d1
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue