From: Michael Wallner Date: Mon, 21 Feb 2022 10:06:19 +0000 (+0100) Subject: fix recursive calls to curl_multi API from the event handler X-Git-Tag: RELEASE_3_2_5~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=2653f8b3a2bf9a6d9cded6ef46236de18a02ff77;p=m6w6%2Fext-http fix recursive calls to curl_multi API from the event handler --- diff --git a/src/php_http_client_curl_event.c b/src/php_http_client_curl_event.c index b8db1b2..2e663ed 100644 --- a/src/php_http_client_curl_event.c +++ b/src/php_http_client_curl_event.c @@ -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);