summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer/HTTPServerConnection.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-12-25 19:54:04 +0100
committerMattes D <github@xoft.cz>2016-03-01 16:19:55 +0100
commitb92346e3cc517fe2d9f01720110e51cf3ea22c44 (patch)
treed4fe00f0114d53bcd9c637964fdff78aaceee66d /src/HTTPServer/HTTPServerConnection.cpp
parentRenamed the HTTP classes to indicate they're for server. (diff)
downloadcuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.tar
cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.tar.gz
cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.tar.bz2
cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.tar.lz
cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.tar.xz
cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.tar.zst
cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.zip
Diffstat (limited to '')
-rw-r--r--src/HTTPServer/HTTPServerConnection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HTTPServer/HTTPServerConnection.cpp b/src/HTTPServer/HTTPServerConnection.cpp
index 3c4acc2d4..0ee9f3ce7 100644
--- a/src/HTTPServer/HTTPServerConnection.cpp
+++ b/src/HTTPServer/HTTPServerConnection.cpp
@@ -5,7 +5,7 @@
#include "Globals.h"
#include "HTTPServerConnection.h"
-#include "HTTPMessage.h"
+#include "HTTPRequestParser.h"
#include "HTTPServer.h"
@@ -166,7 +166,7 @@ void cHTTPServerConnection::OnReceivedData(const char * a_Data, size_t a_Size)
{
if (m_CurrentRequest == nullptr)
{
- m_CurrentRequest = new cHTTPRequest;
+ m_CurrentRequest = new cHTTPRequestParser;
}
size_t BytesConsumed = m_CurrentRequest->ParseHeaders(a_Data, a_Size);