diff options
author | peterbell10 <peterbell10@live.co.uk> | 2018-07-26 23:24:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-26 23:24:36 +0200 |
commit | 950aeffff8d641a0855fbd9a9b2993d9dfd7d2c3 (patch) | |
tree | 5e6fde4625714922e970bd5ad4ea339f58ab6b57 /src/HTTP | |
parent | At long last... Piston animations! (diff) | |
download | cuberite-950aeffff8d641a0855fbd9a9b2993d9dfd7d2c3.tar cuberite-950aeffff8d641a0855fbd9a9b2993d9dfd7d2c3.tar.gz cuberite-950aeffff8d641a0855fbd9a9b2993d9dfd7d2c3.tar.bz2 cuberite-950aeffff8d641a0855fbd9a9b2993d9dfd7d2c3.tar.lz cuberite-950aeffff8d641a0855fbd9a9b2993d9dfd7d2c3.tar.xz cuberite-950aeffff8d641a0855fbd9a9b2993d9dfd7d2c3.tar.zst cuberite-950aeffff8d641a0855fbd9a9b2993d9dfd7d2c3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/HTTP/HTTPMessage.h | 1 | ||||
-rw-r--r-- | src/HTTP/HTTPMessageParser.cpp | 2 | ||||
-rw-r--r-- | src/HTTP/HTTPServer.h | 1 | ||||
-rw-r--r-- | src/HTTP/HTTPServerConnection.cpp | 1 | ||||
-rw-r--r-- | src/HTTP/NameValueParser.cpp | 1 |
5 files changed, 2 insertions, 4 deletions
diff --git a/src/HTTP/HTTPMessage.h b/src/HTTP/HTTPMessage.h index 55e44fa93..be767a55a 100644 --- a/src/HTTP/HTTPMessage.h +++ b/src/HTTP/HTTPMessage.h @@ -13,7 +13,6 @@ - class cHTTPMessage { public: diff --git a/src/HTTP/HTTPMessageParser.cpp b/src/HTTP/HTTPMessageParser.cpp index 10d3d4ad9..18d2968b5 100644 --- a/src/HTTP/HTTPMessageParser.cpp +++ b/src/HTTP/HTTPMessageParser.cpp @@ -119,6 +119,7 @@ void cHTTPMessageParser::Reset(void) + size_t cHTTPMessageParser::ParseFirstLine(void) { auto idxLineEnd = m_Buffer.find("\r\n"); @@ -136,6 +137,7 @@ size_t cHTTPMessageParser::ParseFirstLine(void) + size_t cHTTPMessageParser::ParseBody(const char * a_Data, size_t a_Size) { if (m_TransferEncodingParser == nullptr) diff --git a/src/HTTP/HTTPServer.h b/src/HTTP/HTTPServer.h index a70d41069..fe9f091dc 100644 --- a/src/HTTP/HTTPServer.h +++ b/src/HTTP/HTTPServer.h @@ -27,7 +27,6 @@ class cSslConfig; - class cHTTPServer { public: diff --git a/src/HTTP/HTTPServerConnection.cpp b/src/HTTP/HTTPServerConnection.cpp index 494aa42c6..8c1afb1f0 100644 --- a/src/HTTP/HTTPServerConnection.cpp +++ b/src/HTTP/HTTPServerConnection.cpp @@ -142,7 +142,6 @@ void cHTTPServerConnection::OnRemoteClosed(void) - void cHTTPServerConnection::OnError(int a_ErrorCode, const AString & a_ErrorMsg) { OnRemoteClosed(); diff --git a/src/HTTP/NameValueParser.cpp b/src/HTTP/NameValueParser.cpp index ca5c4baab..d62d05929 100644 --- a/src/HTTP/NameValueParser.cpp +++ b/src/HTTP/NameValueParser.cpp @@ -10,7 +10,6 @@ - // DEBUG: Self-test #if 0 |