From 9aa6fa7f3a9651e8d3300566a16e071d38bb42ba Mon Sep 17 00:00:00 2001 From: qicosmos Date: Fri, 27 Sep 2024 15:24:05 +0800 Subject: [PATCH] Fix upload (#630) --- include/cinatra/coro_http_client.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/cinatra/coro_http_client.hpp b/include/cinatra/coro_http_client.hpp index a8a6f668..00d31efc 100644 --- a/include/cinatra/coro_http_client.hpp +++ b/include/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; }