diff options
-rw-r--r-- | src/modules/m_http_client.cpp | 3 | ||||
-rw-r--r-- | src/socketengines/socketengine_epoll.cpp | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_http_client.cpp b/src/modules/m_http_client.cpp index 62dfe6831..6a72d4eee 100644 --- a/src/modules/m_http_client.cpp +++ b/src/modules/m_http_client.cpp @@ -150,10 +150,13 @@ bool HTTPSocket::DoRequest(HTTPClientRequest *req) this->port = url.port; strlcpy(this->host, url.domain.c_str(), MAXBUF); + /* bool cached; HTTPResolver* r = new HTTPResolver(this, Server, url.domain, cached, (Module*)Mod); Instance->AddResolver(r, cached); return true; + */ + Connect(url.domain); return true; } diff --git a/src/socketengines/socketengine_epoll.cpp b/src/socketengines/socketengine_epoll.cpp index 89b1ea1ef..fc806e10c 100644 --- a/src/socketengines/socketengine_epoll.cpp +++ b/src/socketengines/socketengine_epoll.cpp @@ -38,7 +38,6 @@ EPollEngine::~EPollEngine() bool EPollEngine::AddFd(EventHandler* eh) { - ServerInstance->Log(DEBUG,"Add new fd: %d", eh->GetFd()); int fd = eh->GetFd(); if ((fd < 0) || (fd > MAX_DESCRIPTORS)) { @@ -122,8 +121,6 @@ int EPollEngine::DispatchEvents() int errcode; int i = epoll_wait(EngineHandle, events, MAX_DESCRIPTORS, 1000); - ServerInstance->Log(DEBUG,"DispatchEvents num events = %d of %d", i, CurrentSetSize); - for (int j = 0; j < i; j++) { if (events[j].events & EPOLLHUP) |