diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-24 22:40:12 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-24 22:40:12 +0200 |
commit | 5d09e39174981121b21110aba307a2548101cd8e (patch) | |
tree | 6c2696a1cb6ce31cc53d8ec076adb278668f3844 /contrib/epee/include | |
parent | Merge pull request #5480 (diff) | |
parent | net_helper: clear recv buffer on eof (diff) | |
download | monero-5d09e39174981121b21110aba307a2548101cd8e.tar.xz |
Merge pull request #5482
9956500d net_helper: clear recv buffer on eof (moneromooo-monero)
Diffstat (limited to 'contrib/epee/include')
-rw-r--r-- | contrib/epee/include/net/net_helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/epee/include/net/net_helper.h b/contrib/epee/include/net/net_helper.h index 89cef8134..6387c4c34 100644 --- a/contrib/epee/include/net/net_helper.h +++ b/contrib/epee/include/net/net_helper.h @@ -448,6 +448,7 @@ namespace net_utils { MTRACE("Connection err_code eof."); //connection closed there, empty + buff.clear(); return true; } |