forked from boostorg/beast
Fix error parameter in HTTPClient logic
This commit is contained in:
1 parent
68b5966fef
commit
4ed36da458
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user