diff --git a/src/http_connection.cpp b/src/http_connection.cpp index a6f32f433..5fc58ac71 100644 --- a/src/http_connection.cpp +++ b/src/http_connection.cpp @@ -103,6 +103,8 @@ void http_connection::on_timeout(boost::weak_ptr p void http_connection::close() { m_timer.cancel(); + m_limiter_timer.cancel(); + m_limiter_timer_active = false; m_sock.close(); m_hostname.clear(); m_port.clear();