diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-23 13:22:22 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-23 13:23:17 +0000 |
commit | 9956500d142349edae4d1f2692674382b04b1ac6 (patch) | |
tree | 45edc5a8b0a45ac88c362e7428c0c8921a8cf582 /contrib/epee/include/net | |
parent | Merge pull request #5466 (diff) | |
download | monero-9956500d142349edae4d1f2692674382b04b1ac6.tar.xz |
net_helper: clear recv buffer on eof
Diffstat (limited to 'contrib/epee/include/net')
-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; } |