diff options
author | Mattes D <github@xoft.cz> | 2015-12-25 19:42:50 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-03-01 16:19:55 +0100 |
commit | 2dbc54a14824329faf53851441c6585fd451f0a2 (patch) | |
tree | bd59ed0139bfa7aff6a337c45cc38446e8812387 /src/HTTPServer/HTTPConnection.h | |
parent | Merge pull request #3057 from tonibm19/master (diff) | |
download | cuberite-2dbc54a14824329faf53851441c6585fd451f0a2.tar cuberite-2dbc54a14824329faf53851441c6585fd451f0a2.tar.gz cuberite-2dbc54a14824329faf53851441c6585fd451f0a2.tar.bz2 cuberite-2dbc54a14824329faf53851441c6585fd451f0a2.tar.lz cuberite-2dbc54a14824329faf53851441c6585fd451f0a2.tar.xz cuberite-2dbc54a14824329faf53851441c6585fd451f0a2.tar.zst cuberite-2dbc54a14824329faf53851441c6585fd451f0a2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/HTTPServer/HTTPServerConnection.h (renamed from src/HTTPServer/HTTPConnection.h) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/HTTPServer/HTTPConnection.h b/src/HTTPServer/HTTPServerConnection.h index 414075411..d63cc7395 100644 --- a/src/HTTPServer/HTTPConnection.h +++ b/src/HTTPServer/HTTPServerConnection.h @@ -24,7 +24,7 @@ class cHTTPRequest; -class cHTTPConnection : +class cHTTPServerConnection : public cTCPLink::cCallbacks { public: @@ -38,8 +38,8 @@ public: wcsInvalid, ///< The request was malformed, the connection is closing } ; - cHTTPConnection(cHTTPServer & a_HTTPServer); - virtual ~cHTTPConnection(); + cHTTPServerConnection(cHTTPServer & a_HTTPServer); + virtual ~cHTTPServerConnection(); /** Sends HTTP status code together with a_Reason (used for HTTP errors). Sends the a_Reason as the body as well, so that browsers display it. */ @@ -116,7 +116,7 @@ protected: } } ; -typedef std::vector<cHTTPConnection *> cHTTPConnections; +typedef std::vector<cHTTPServerConnection *> cHTTPServerConnections; |