Skip to content

Commit

Permalink
[coro_http][fix] fix handle result of async_upload (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle authored Sep 14, 2024
1 parent b8a6060 commit 78a71ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/ylt/standalone/cinatra/coro_http_client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,7 @@ class coro_http_client : public std::enable_shared_from_this<coro_http_client> {
if (ec && socket_->is_timeout_) {
ec = std::make_error_code(std::errc::timed_out);
}
handle_result(data, ec, is_keep_alive);
co_return data;
}

Expand Down

0 comments on commit 78a71ab

Please sign in to comment.