Change default send buffer to 1Mb.

This commit is contained in:
Matt Corallo
2012-07-01 04:17:26 +02:00
parent 3c3cb60a90
commit 6d6c2afb2b
2 changed files with 2 additions and 2 deletions

View File

@@ -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);