mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
net_helper: clear recv buffer on eof
This commit is contained in:
parent
475481949a
commit
9956500d14
@ -448,6 +448,7 @@ namespace net_utils
|
||||
{
|
||||
MTRACE("Connection err_code eof.");
|
||||
//connection closed there, empty
|
||||
buff.clear();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user