diff options
| author | Jeff Garzik <[email protected]> | 2012-11-04 16:06:38 -0500 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-11-04 16:06:38 -0500 |
| commit | 2306dc4b760df577130337be0a32d5a4014981a1 (patch) | |
| tree | 3d1498c18c06a45fc4066006fa7778f82f0b08cd /src/init.cpp | |
| parent | Merge pull request #1971 from sipa/bugfix_norelayspent (diff) | |
| download | discoin-2306dc4b760df577130337be0a32d5a4014981a1.tar.xz discoin-2306dc4b760df577130337be0a32d5a4014981a1.zip | |
RPC, cosmetic: push down ReadHTTPStatus() calls into ReadHTTP() callers
ReadHTTPStatus() is currently overloaded: In client mode, it properly parses
and receives an HTTP status line. In server mode, it incorrectly parses the
HTTP request line as an HTTP status line.
This server mode bug has never mattered, because the RPC server never
cared about the URI (path) provided in the HTTP request. That will change in
the future, so go ahead and begin fixing the problem.
This patch is cosmetic, and should result in NO behavior changes.
Further renames:
ReadHTTPHeader -> ReadHTTPHeaders
ReadHTTP -> ReadHTTPMessage
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions