X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_request_api.c;h=41801656e82849fad99c28d5c2bca5a24ee05be0;hb=31092c29dba06404d2f0d856d5a89f0b28be6f0b;hp=06b69f719e8039b72788da31a6f3043417258dca;hpb=669d2e6a8bdc642b6b52693f4593f199ddd7e8d2;p=m6w6%2Fext-http diff --git a/http_request_api.c b/http_request_api.c index 06b69f7..4180165 100644 --- a/http_request_api.c +++ b/http_request_api.c @@ -1004,7 +1004,9 @@ static int http_curl_progress_callback(void *ctx, double dltotal, double dlnow, add_assoc_double(param, "ultotal", ultotal); add_assoc_double(param, "ulnow", ulnow); - call_user_function(EG(function_table), NULL, request->_progress_callback, &retval, 1, ¶m TSRMLS_CC); + with_error_handling(EH_NORMAL, NULL) { + call_user_function(EG(function_table), NULL, request->_progress_callback, &retval, 1, ¶m TSRMLS_CC); + } end_error_handling(); zval_ptr_dtor(¶m); zval_dtor(&retval);