Fix error parameter in HTTPClient logic

This commit is contained in:
Vinnie Falco
2013-10-27 19:55:44 -07:00
parent 68b5966fef
commit 4ed36da458

View File

@@ -288,7 +288,7 @@ public:
m_timer.cancel (ec);
m_resolver.cancel ();
m_socket.cancel (ec);
m_socket.shutdown (socket::shutdown_both);
m_socket.shutdown (socket::shutdown_both, ec);
}
// Called by a completion handler when error is not eof or aborted.