mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-07 12:45:51 +00:00
Fix eof on HTTP client get
This commit is contained in:
@@ -520,6 +520,9 @@ public:
|
||||
if (ec == boost::asio::error::operation_aborted)
|
||||
return;
|
||||
|
||||
if (ec == boost::asio::error::eof)
|
||||
ec = error_code();
|
||||
|
||||
if (ec != 0)
|
||||
{
|
||||
failed (ec);
|
||||
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
virtual void abstract_async_get (boost::asio::io_service& io_service,
|
||||
URL const& url, AbstractHandler <void (result_type)> handler) = 0;
|
||||
|
||||
/** Cancel any pending asynchronous operations. */
|
||||
/** Cancel all pending asynchronous operations. */
|
||||
virtual void cancel() = 0;
|
||||
|
||||
/** Block until all asynchronous i/o completes. */
|
||||
|
||||
Reference in New Issue
Block a user