diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-06-27 07:49:28 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-06-27 07:49:28 -0700 |
commit | 6c88568fef4d4386e35bc474b1879006f0010ab2 (patch) | |
tree | dc5ea26e144fa17900d70405fd2b6b08978e3b89 /src/net.cpp | |
parent | 4a52c187d342c27741d23b9536cb1a108f5a6fcb (diff) | |
parent | 9d6cd04b3b73e5de10d6891dcdf151633e582de0 (diff) | |
download | bitcoin-6c88568fef4d4386e35bc474b1879006f0010ab2.tar.xz |
Merge pull request #973 from TheBlueMatt/diffsendbuffer
Stop processing messages on full send buffer and dont disconnect.
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/net.cpp b/src/net.cpp index 77fd334ee4..f1073e0a3e 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -922,11 +922,8 @@ void ThreadSocketHandler2(void* parg) pnode->CloseSocketDisconnect(); } } - if (vSend.size() > SendBufferSize()) { - if (!pnode->fDisconnect) - printf("socket send flood control disconnect (%d bytes)\n", vSend.size()); - pnode->CloseSocketDisconnect(); - } + if (vSend.size() > SendBufferSize()) + printf("socket send buffer full warning (%d bytes)\n", vSend.size()); } } } |