Mercurial > hg > bitcoin
changeset 2852:c240e997ac02 draft
When disconnecting a node, clear the received buffer so that we do
not process any already received messages.
The primary reason to do this is if a node spams hundreds of messages
and we ban them, we don't want to continue processing the rest of it.
author | Alistair Buxton <a.j.buxton@gmail.com> |
---|---|
date | Sun, 18 Mar 2012 03:03:24 +0000 |
parents | 8bf7efd12394 |
children | e69169084410 |
files | src/net.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff