fix for rate limited http_connection

This commit is contained in:
Arvid Norberg 2007-04-05 20:53:11 +00:00
parent af21efb861
commit b1501d0dac
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,8 @@ void http_connection::on_timeout(boost::weak_ptr<http_connection> 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();