diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-17 21:14:26 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-17 21:14:26 +0000 |
commit | 76bf72f8c2c5b1524bf20a523fe1cf0d79d29742 (patch) | |
tree | e7f29c14b8d0b6c5ea3e76a3c450eff1446abc0a /src/modules/m_httpd.cpp | |
parent | 94eb9af0abd8636a8edd99fc23a3fc937417e962 (diff) |
Mass comment removal.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_httpd.cpp')
-rw-r--r-- | src/modules/m_httpd.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index dc1785af5..b2ede6619 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -73,7 +73,6 @@ class HttpServerSocket : public InspSocket HttpServerSocket(InspIRCd* SI, std::string host, int port, bool listening, unsigned long maxtime, FileReader* index_page) : InspSocket(SI, host, port, listening, maxtime), index(index_page), postsize(0) { - SI->Log(DEBUG,"HttpServerSocket constructor"); InternalState = HTTP_LISTEN; Timeout = NULL; } @@ -267,11 +266,9 @@ class HttpServerSocket : public InspSocket } else { - Instance->Log(DEBUG,"%d bytes to read for POST",postsize); std::string::size_type x = headers.str().find("\r\n\r\n"); postdata = headers.str().substr(x+4, headers.str().length()); /* Get content length and store */ - Instance->Log(DEBUG,"Initial postdata: '%s'", postdata.c_str()); if (postdata.length() >= postsize) ServeData(); } @@ -325,7 +322,6 @@ class HttpServerSocket : public InspSocket if (!claimed) { SendHeaders(0, 404, ""); - Instance->Log(DEBUG,"Page not claimed, 404"); } } } @@ -335,7 +331,6 @@ class HttpServerSocket : public InspSocket void Page(std::stringstream* n, int response, std::string& extraheaders) { - Instance->Log(DEBUG,"Sending page"); SendHeaders(n->str().length(), response, extraheaders); this->Write(n->str()); } @@ -392,7 +387,6 @@ class ModuleHttpServer : public Module char* OnRequest(Request* request) { - ServerInstance->Log(DEBUG,"Got HTTPDocument object"); claimed = true; HTTPDocument* doc = (HTTPDocument*)request->GetData(); HttpServerSocket* sock = (HttpServerSocket*)doc->sock; |