Merge pull request #5482

9956500d net_helper: clear recv buffer on eof (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2019-04-24 22:40:12 +02:00
commit 5d09e39174
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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;
} }