X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=http_request_object.c;h=4377dcc1e37f0888064b9d62a79a90f3b2185bac;hb=e37040ebf8a470c77c7ae3498ee582ca20db259c;hp=11a623030077bb658649f77f262f203bc07702a1;hpb=caef0e9b14e6c7fcaa50685a5a3eb46dc1df65ec;p=m6w6%2Fext-http diff --git a/http_request_object.c b/http_request_object.c index 11a6230..4377dcc 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -693,7 +693,9 @@ STATUS _http_request_object_responsehandler(http_request_object *obj, zval *this MAKE_STD_ZVAL(param); ZVAL_BOOL(param, ret == SUCCESS); - zend_call_method_with_1_params(&getThis(), Z_OBJCE_P(getThis()), NULL, "onfinish", NULL, param); + with_error_handling(EH_NORMAL, NULL) { + zend_call_method_with_1_params(&getThis(), Z_OBJCE_P(getThis()), NULL, "onfinish", NULL, param); + } end_error_handling(); zval_ptr_dtor(¶m); }