diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-08-07 10:39:19 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-08-07 10:50:37 +0200 |
| commit | 0b588168ab24c1db93fd568cc136380b59fc5809 (patch) | |
| tree | 8e1fbb72c7d1a7774706671eef0baf08f11de9e4 /src/bitcoin-cli.cpp | |
| parent | Merge pull request #4498 (diff) | |
| parent | Remove size limit in RPC client, keep it in server (diff) | |
| download | discoin-0b588168ab24c1db93fd568cc136380b59fc5809.tar.xz discoin-0b588168ab24c1db93fd568cc136380b59fc5809.zip | |
Merge pull request #4640
733177e Remove size limit in RPC client, keep it in server (Wladimir J. van der Laan)
e17151a Avoid a copy in RPC output (Wladimir J. van der Laan)
Diffstat (limited to 'src/bitcoin-cli.cpp')
| -rw-r--r-- | src/bitcoin-cli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index 3b991f927..0609adcab 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -126,7 +126,7 @@ Object CallRPC(const string& strMethod, const Array& params) // Receive HTTP reply message headers and body map<string, string> mapHeaders; string strReply; - ReadHTTPMessage(stream, mapHeaders, strReply, nProto); + ReadHTTPMessage(stream, mapHeaders, strReply, nProto, std::numeric_limits<size_t>::max()); if (nStatus == HTTP_UNAUTHORIZED) throw runtime_error("incorrect rpcuser or rpcpassword (authorization failed)"); |