File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
include/ylt/standalone/cinatra Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -769,7 +769,7 @@ class coro_http_client : public std::enable_shared_from_this<coro_http_client> {
769
769
}
770
770
771
771
auto time_out_guard =
772
- timer_guard (this , conn_timeout_duration_ , " request timer" );
772
+ timer_guard (this , req_timeout_duration_ , " request timer" );
773
773
std::tie (ec, size) = co_await async_write (asio::buffer (header_str));
774
774
#ifdef INJECT_FOR_HTTP_CLIENT_TEST
775
775
if (inject_write_failed == ClientInjectAction::write_failed) {
@@ -968,8 +968,7 @@ class coro_http_client : public std::enable_shared_from_this<coro_http_client> {
968
968
}
969
969
}
970
970
971
- auto time_guard =
972
- timer_guard (this , conn_timeout_duration_, " request timer" );
971
+ auto time_guard = timer_guard (this , req_timeout_duration_, " request timer" );
973
972
std::tie (ec, size) = co_await async_write (asio::buffer (header_str));
974
973
if (ec) {
975
974
if (socket_->is_timeout_ ) {
You can’t perform that action at this time.
0 commit comments