X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_client_curl.c;fp=src%2Fphp_http_client_curl.c;h=e5132113015c8f5b30ff76873d65d27a678d1868;hp=1626b712e41496c6d98561c7ec794f067c830016;hb=27e55ddfb44454595ef5d388259a7bc194beda9c;hpb=b696364a9f5228b38d442d35fa8eda0208f557b8 diff --git a/src/php_http_client_curl.c b/src/php_http_client_curl.c index 1626b71..e513211 100644 --- a/src/php_http_client_curl.c +++ b/src/php_http_client_curl.c @@ -2206,7 +2206,7 @@ static ZEND_RESULT_CODE php_http_client_curl_dequeue(php_http_client_t *h, php_h php_http_client_curl_t *curl = h->ctx; php_http_client_curl_handler_t *handler = enqueue->opaque; - if (h->callback.depth) { + if (h->callback.depth && !CG(unclean_shutdown)) { php_error_docref(NULL, E_WARNING, "Could not dequeue request while executing callbacks"); return FAILURE; }