summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-02-21 11:34:16 +0100
committerMattes D <github@xoft.cz>2016-03-01 16:20:00 +0100
commit6ff389f6d48fd66c77286ac384031863ccf2a768 (patch)
tree83219a6eaf87a2050c10662fb8caa5d1514a6af4
parentRenamed HTTPResponse to HTTPOutgoingResponse. (diff)
downloadcuberite-6ff389f6d48fd66c77286ac384031863ccf2a768.tar
cuberite-6ff389f6d48fd66c77286ac384031863ccf2a768.tar.gz
cuberite-6ff389f6d48fd66c77286ac384031863ccf2a768.tar.bz2
cuberite-6ff389f6d48fd66c77286ac384031863ccf2a768.tar.lz
cuberite-6ff389f6d48fd66c77286ac384031863ccf2a768.tar.xz
cuberite-6ff389f6d48fd66c77286ac384031863ccf2a768.tar.zst
cuberite-6ff389f6d48fd66c77286ac384031863ccf2a768.zip
-rw-r--r--src/HTTP/HTTPMessage.cpp2
-rw-r--r--src/HTTP/SslHTTPServerConnection.h2
-rw-r--r--src/HTTP/TransferEncodingParser.cpp3
3 files changed, 4 insertions, 3 deletions
diff --git a/src/HTTP/HTTPMessage.cpp b/src/HTTP/HTTPMessage.cpp
index a535108e3..cf7525b6c 100644
--- a/src/HTTP/HTTPMessage.cpp
+++ b/src/HTTP/HTTPMessage.cpp
@@ -67,7 +67,7 @@ void cHTTPMessage::AddHeader(const AString & a_Key, const AString & a_Value)
////////////////////////////////////////////////////////////////////////////////
-// cHTTPResponse:
+// cHTTPOutgoingResponse:
cHTTPOutgoingResponse::cHTTPOutgoingResponse(void) :
super(mkResponse)
diff --git a/src/HTTP/SslHTTPServerConnection.h b/src/HTTP/SslHTTPServerConnection.h
index 6032a2bd0..eceb80fb7 100644
--- a/src/HTTP/SslHTTPServerConnection.h
+++ b/src/HTTP/SslHTTPServerConnection.h
@@ -1,7 +1,7 @@
// SslHTTPServerConnection.h
-// Declared the cSslHTTPServerConnection class representing a HTTP connection made over a SSL link
+// Declares the cSslHTTPServerConnection class representing a HTTP connection made over an SSL link
diff --git a/src/HTTP/TransferEncodingParser.cpp b/src/HTTP/TransferEncodingParser.cpp
index d95b3d08e..a14900e9c 100644
--- a/src/HTTP/TransferEncodingParser.cpp
+++ b/src/HTTP/TransferEncodingParser.cpp
@@ -1,7 +1,7 @@
// TransferEncodingParser.cpp
-// Implements the cTransferEncodingParser class and its descendants representing the parser for the various transfer encodings (chunked etc.)
+// Implements the cTransferEncodingParser class and its descendants representing the parsers for the various transfer encodings (chunked etc.)
#include "Globals.h"
#include "TransferEncodingParser.h"
@@ -50,6 +50,7 @@ protected:
When in psChunkLength, the value is the currently parsed length digits. */
size_t m_ChunkDataLengthLeft;
+ /** The parser used for the last (empty) chunk's trailer data */
cEnvelopeParser m_TrailerParser;