diff options
| author | tcatm <[email protected]> | 2011-03-05 17:24:34 +0100 |
|---|---|---|
| committer | tcatm <[email protected]> | 2011-03-05 17:24:34 +0100 |
| commit | 8e5aaada2e93e3a2f64135ece5ee09ad3d11cfe3 (patch) | |
| tree | e0bf81411e4b05210a95811d00ca8aa5939657a9 /net.cpp | |
| parent | Merge branch 'rounding' of https://github.com/gavinandresen/bitcoin-git into ... (diff) | |
| parent | throw JSONRPCError(-5, "Invalid bitcoin address") instead. (diff) | |
| download | discoin-8e5aaada2e93e3a2f64135ece5ee09ad3d11cfe3.tar.xz discoin-8e5aaada2e93e3a2f64135ece5ee09ad3d11cfe3.zip | |
Merge branch 'setaccountfix' of https://github.com/TheBlueMatt/bitcoin into TheBlueMatt-setaccountfix
Diffstat (limited to 'net.cpp')
| -rw-r--r-- | net.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -741,7 +741,7 @@ void ThreadSocketHandler2(void* parg) CDataStream& vRecv = pnode->vRecv; unsigned int nPos = vRecv.size(); - if (nPos > 1000*GetArg("-maxreceivebuffer", 2*1000)) { + if (nPos > 1000*GetArg("-maxreceivebuffer", 10*1000)) { if (!pnode->fDisconnect) printf("socket recv flood control disconnect (%d bytes)\n", vRecv.size()); pnode->CloseSocketDisconnect(); @@ -806,7 +806,7 @@ void ThreadSocketHandler2(void* parg) pnode->CloseSocketDisconnect(); } } - if (vSend.size() > 1000*GetArg("-maxsendbuffer", 256)) { + if (vSend.size() > 1000*GetArg("-maxsendbuffer", 10*1000)) { if (!pnode->fDisconnect) printf("socket send flood control disconnect (%d bytes)\n", vSend.size()); pnode->CloseSocketDisconnect(); |