http_connection fix

This commit is contained in:
Arvid Norberg 2014-10-06 03:19:29 +00:00
parent 9b8e7bc169
commit f1032586f7
1 changed files with 2 additions and 0 deletions

View File

@ -408,6 +408,8 @@ void http_connection::on_timeout(boost::weak_ptr<http_connection> p
if (e == asio::error::operation_aborted) return;
if (c->m_abort) return;
ptime now = time_now_hires();
if (c->m_start_time + c->m_completion_timeout < now