Skip to content

Commit

Permalink
fix recursive calls to curl_multi API from the event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
m6w6 committed Feb 21, 2022
1 parent e7b1f15 commit 9fb1c51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/php_http_client_curl_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ static void php_http_client_curl_event_timer(CURLM *multi, long timeout_ms, void
}
break;
case 0:
php_http_client_curl_event_handler(context, CURL_SOCKET_TIMEOUT, 0);
break;
default:
if (!event_initialized(context->timeout)) {
event_assign(context->timeout, context->evbase, CURL_SOCKET_TIMEOUT, 0, php_http_client_curl_event_timeout_callback, context);
Expand Down

0 comments on commit 9fb1c51

Please sign in to comment.