mirror of
https://github.com/monero-project/monero.git
synced 2026-01-19 02:52:57 +01:00
net_helper: clear recv buffer on eof
This commit is contained in:
@@ -448,6 +448,7 @@ namespace net_utils
|
||||
{
|
||||
MTRACE("Connection err_code eof.");
|
||||
//connection closed there, empty
|
||||
buff.clear();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user