summaryrefslogtreecommitdiffstats
path: root/source/HTTPServer/HTTPServer.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-27 20:33:18 +0200
committermadmaxoft <github@xoft.cz>2013-09-27 20:33:18 +0200
commit0c3fd5e77d681c25757efaab6acb305d0b5630c1 (patch)
tree9d7b16cf1e27cce180c39c89353ad8855ef5def1 /source/HTTPServer/HTTPServer.h
parentSplit cHTTPConnection implementation into a separate file. (diff)
downloadcuberite-0c3fd5e77d681c25757efaab6acb305d0b5630c1.tar
cuberite-0c3fd5e77d681c25757efaab6acb305d0b5630c1.tar.gz
cuberite-0c3fd5e77d681c25757efaab6acb305d0b5630c1.tar.bz2
cuberite-0c3fd5e77d681c25757efaab6acb305d0b5630c1.tar.lz
cuberite-0c3fd5e77d681c25757efaab6acb305d0b5630c1.tar.xz
cuberite-0c3fd5e77d681c25757efaab6acb305d0b5630c1.tar.zst
cuberite-0c3fd5e77d681c25757efaab6acb305d0b5630c1.zip
Diffstat (limited to 'source/HTTPServer/HTTPServer.h')
-rw-r--r--source/HTTPServer/HTTPServer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/HTTPServer/HTTPServer.h b/source/HTTPServer/HTTPServer.h
index fd4782267..2d0acc386 100644
--- a/source/HTTPServer/HTTPServer.h
+++ b/source/HTTPServer/HTTPServer.h
@@ -55,11 +55,14 @@ protected:
/// Called by cHTTPConnection to close the connection (presumably due to an error)
void CloseConnection(cHTTPConnection & a_Connection);
+ /// Called by cHTTPConnection to notify SocketThreads that there's data to be sent for the connection
+ void NotifyConnectionWrite(cHTTPConnection & a_Connection);
+
/// Called by cHTTPConnection when it finishes parsing the request header
void NewRequest(cHTTPConnection & a_Connection, cHTTPRequest & a_Request);
/// Called by cHTTPConenction when it receives more data for the request body
- void RequestBody(cHTTPConnection & a_Connection, cHTTPRequest & a_Request);
+ void RequestBody(cHTTPConnection & a_Connection, cHTTPRequest & a_Request, const char * a_Data, int a_Size);
/// Called by cHTTPConnection when it detects that the request has finished (all of its body has been received)
void RequestFinished(cHTTPConnection & a_Connection, cHTTPRequest & a_Request);