diff --git a/include/ylt/standalone/cinatra/coro_http_client.hpp b/include/ylt/standalone/cinatra/coro_http_client.hpp index a8a6f668a..00d31efc2 100644 --- a/include/ylt/standalone/cinatra/coro_http_client.hpp +++ b/include/ylt/standalone/cinatra/coro_http_client.hpp @@ -1175,6 +1175,7 @@ class coro_http_client : public std::enable_shared_from_this { if (ec && socket_->is_timeout_) { ec = std::make_error_code(std::errc::timed_out); } + handle_result(data, ec, is_keep_alive); co_return data; }