diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-12 01:33:13 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-12 01:33:13 +0000 |
commit | 8d278b5d9cba6c5b41477994e7a567c9218d2c3f (patch) | |
tree | 39f3561f204a504b91aed5219296f3d28597417c /src/modules | |
parent | c23f9303db81152ae241fca9ac3076d6ad80e874 (diff) |
Argh, i give up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8594 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_http_client.cpp | 3 | ||||
-rw-r--r-- | src/modules/m_remoteinclude.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_http_client.cpp b/src/modules/m_http_client.cpp index a75cfd1b2..d29165bff 100644 --- a/src/modules/m_http_client.cpp +++ b/src/modules/m_http_client.cpp @@ -123,6 +123,7 @@ HTTPSocket::HTTPSocket(InspIRCd *Instance, ModuleHTTPClient *Mod) this->port = 80; response = NULL; closed = false; + timeout_val = 10; } HTTPSocket::~HTTPSocket() @@ -296,7 +297,7 @@ bool HTTPSocket::OnConnected() bool HTTPSocket::OnDataReady() { - Instance->Log(DEBUG,"HTTPSocket::OnDataReady()"); + Instance->Log(DEBUG,"HTTPSocket::OnDataReady() for %s", url.url.c_str()); char *data = this->Read(); if (!data) diff --git a/src/modules/m_remoteinclude.cpp b/src/modules/m_remoteinclude.cpp index d385e194e..aa5370c5c 100644 --- a/src/modules/m_remoteinclude.cpp +++ b/src/modules/m_remoteinclude.cpp @@ -92,7 +92,7 @@ class ModuleRemoteInclude : public Module Module* target = ServerInstance->Modules->Find("m_http_client.so"); if (target) { - ServerInstance->Log(DEBUG,"Claiming schema http://, making fetch request"); + ServerInstance->Log(DEBUG,"Claiming schema http://, making fetch request for %s", name.c_str()); HTTPClientRequest* req = new HTTPClientRequest(ServerInstance, this, target, name); req->Send(); |