mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix error parameter in HTTPClient logic
This commit is contained in:
@@ -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