mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-29 18:53:14 +00:00
net_helper: clear recv buffer on eof
This commit is contained in:
parent
475481949a
commit
9956500d14
1 changed files with 1 additions and 0 deletions
|
@ -448,6 +448,7 @@ namespace net_utils
|
||||||
{
|
{
|
||||||
MTRACE("Connection err_code eof.");
|
MTRACE("Connection err_code eof.");
|
||||||
//connection closed there, empty
|
//connection closed there, empty
|
||||||
|
buff.clear();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue