summaryrefslogtreecommitdiff
path: root/lib/httpserver/HTTPServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/httpserver/HTTPServer.cpp')
-rw-r--r--lib/httpserver/HTTPServer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/httpserver/HTTPServer.cpp b/lib/httpserver/HTTPServer.cpp
index 742b392f..fbdadfa7 100644
--- a/lib/httpserver/HTTPServer.cpp
+++ b/lib/httpserver/HTTPServer.cpp
@@ -145,7 +145,7 @@ void HTTPServer::Connection(SocketStream &rStream)
{
// Parse the request
HTTPRequest request;
- if(!request.Read(getLine, mTimeout))
+ if(!request.Receive(getLine, mTimeout))
{
// Didn't get request, connection probably closed.
break;
@@ -186,7 +186,7 @@ void HTTPServer::Connection(SocketStream &rStream)
response.Send(rStream, request.GetMethod() == HTTPRequest::Method_HEAD);
}
- // Notify dervived claases
+ // Notify derived claases
HTTPConnectionClosing();
}