Merge pull request #5482
9956500d
net_helper: clear recv buffer on eof (moneromooo-monero)
This commit is contained in:
commit
5d09e39174
|
@ -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 New Issue