X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_methods.c;h=cf1fb9e0ebd96c812e06eb5ebe84ab6576c302e0;hb=3b8f17486dae1d9a0ea68e4c90efc5db30901a24;hp=ebb892a6a73ac3c86eaabfadd405074b63d55060;hpb=e32f6fed32939bba9839c0e4f7cdaec02d8828dd;p=m6w6%2Fext-http diff --git a/http_methods.c b/http_methods.c index ebb892a..cf1fb9e 100644 --- a/http_methods.c +++ b/http_methods.c @@ -2125,15 +2125,13 @@ PHP_METHOD(HttpRequest, send) } if (SUCCESS == (status = http_request_object_requesthandler(obj, getThis(), &body))) { - zval *info = GET_PROP(obj, responseInfo); - status = http_request_exec(obj->ch, Z_ARRVAL_P(info)); - SET_PROP(obj, responseInfo, info); + status = http_request_exec(obj->ch, NULL); } http_request_body_dtor(&body); /* final data handling */ if (SUCCESS == status) { - status = http_request_object_responsehandler(obj, getThis(), NULL); + status = http_request_object_responsehandler(obj, getThis()); } SET_EH_NORMAL();