diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp index a9bdd3f6..b7771d56 100644 --- a/daemon/HTTPServer.cpp +++ b/daemon/HTTPServer.cpp @@ -798,8 +798,7 @@ namespace http { } HTTPConnection::HTTPConnection (std::string hostname, std::shared_ptr socket): - m_Socket (socket), m_Timer (socket->get_io_service ()), m_BufferLen (0), - expected_host(hostname) + m_Socket (socket), m_BufferLen (0), expected_host(hostname) { /* cache options */ i2p::config::GetOption("http.auth", needAuth); diff --git a/daemon/HTTPServer.h b/daemon/HTTPServer.h index a1b82875..3d32ed2b 100644 --- a/daemon/HTTPServer.h +++ b/daemon/HTTPServer.h @@ -39,7 +39,6 @@ namespace http private: std::shared_ptr m_Socket; - boost::asio::deadline_timer m_Timer; char m_Buffer[HTTP_CONNECTION_BUFFER_SIZE + 1]; size_t m_BufferLen; std::string m_SendBuffer;