net_helper: clear recv buffer on eof

This commit is contained in:
moneromooo-monero 2019-04-23 13:22:22 +00:00
parent 475481949a
commit 9956500d14
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 0 deletions

View File

@ -448,6 +448,7 @@ namespace net_utils
{
MTRACE("Connection err_code eof.");
//connection closed there, empty
buff.clear();
return true;
}