Skip to content

Commit

Permalink
Update swoole_http_client_coro.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf authored Nov 6, 2024
1 parent b963dbc commit 43c1329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swoole_http_client_coro.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ bool http_client::recv_http_response(double timeout)

if (timeout == 0)
{
timeout = socket->get_timeout(SW_TIMEOUT_READ);
timeout = connect_timeout;
}
Socket::timeout_controller tc(socket, timeout, SW_TIMEOUT_READ);
while (true)
Expand Down

0 comments on commit 43c1329

Please sign in to comment.