aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMatt Corallo <matt@bluematt.me>2012-07-01 04:17:26 +0200
committerMatt Corallo <matt@bluematt.me>2012-07-01 04:17:26 +0200
commit6d6c2afb2b014ecaf43fea2690f6021f78f57488 (patch)
tree30f65a9ee3956e0c0a73ce75ef9f98faa516b946 /src/net.h
parent3c3cb60a904ee7c34ebda1b18fd68c958e2eec53 (diff)
downloadbitcoin-6d6c2afb2b014ecaf43fea2690f6021f78f57488.tar.xz
Change default send buffer to 1Mb.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 21ecaef848..f6608bc030 100644
--- a/src/net.h
+++ b/src/net.h
@@ -27,7 +27,7 @@ extern int nBestHeight;
inline unsigned int ReceiveBufferSize() { return 1000*GetArg("-maxreceivebuffer", 5*1000); }
-inline unsigned int SendBufferSize() { return 1000*GetArg("-maxsendbuffer", 5*1000); }
+inline unsigned int SendBufferSize() { return 1000*GetArg("-maxsendbuffer", 1*1000); }
void AddOneShot(std::string strDest);
bool RecvLine(SOCKET hSocket, std::string& strLine);