mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Move AcceptedConnection class to rpcserver.h.
Also, add parens to HTTPReply() to assist readability.
This commit is contained in:
parent
854d013012
commit
ed5769f536
3 changed files with 12 additions and 12 deletions
|
|
@ -105,8 +105,8 @@ string HTTPReply(int nStatus, const string& strMsg, bool keepalive,
|
|||
strMsg.size(),
|
||||
contentType,
|
||||
FormatFullVersion(),
|
||||
headersOnly ? "" :
|
||||
useInternalContent ? cStatus : strMsg.c_str());
|
||||
(headersOnly ? "" :
|
||||
(useInternalContent ? cStatus : strMsg.c_str())));
|
||||
}
|
||||
|
||||
bool ReadHTTPRequestLine(std::basic_istream<char>& stream, int &proto,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue