diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-02-11 17:26:16 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-02-11 17:26:16 +0100 |
commit | 7918febc630d7d6f94fda1a918fe7b98c2d0e742 (patch) | |
tree | 0e3ef2f42258c078ac718d3464d8370fd493ee93 | |
parent | 0204f2254dd44db8b68fd0e658fda130e84aa9cf (diff) |
m_httpd Remove now unused variable "claimed"
-rw-r--r-- | src/modules/m_httpd.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index 47416406e..e09ca3fa2 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -29,7 +29,6 @@ class ModuleHttpServer; static ModuleHttpServer* HttpModule; -static bool claimed; static insp::intrusive_list<HttpServerSocket> sockets; static Events::ModuleEventProvider* aclevprov; static Events::ModuleEventProvider* reqevprov; @@ -324,7 +323,6 @@ class HttpServerSocket : public BufferedSocket, public Timer, public insp::intru { InternalState = HTTP_SERVE_SEND_DATA; - claimed = false; ModResult MOD_RESULT; HTTPRequest acl(request_type, uri, &headers, this, ip, postdata); FIRST_MOD_RESULT_CUSTOM(*aclevprov, HTTPACLEventListener, OnHTTPACLCheck, MOD_RESULT, (acl)); @@ -366,7 +364,6 @@ class HTTPdAPIImpl : public HTTPdAPIBase void SendResponse(HTTPDocumentResponse& resp) CXX11_OVERRIDE { - claimed = true; resp.src.sock->Page(resp.document, resp.responsecode, &resp.headers); } }; |