X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_object.c;h=9c5e902db0f7dce7d376697fe78ab582237886e9;hp=0a6c5d1a4ea47df32b7f84a8708e2199ab6bcaae;hb=ec76b279f999eaa62eeb83478f953ad477c6fe66;hpb=36fa8b05be7aaf8e7f9e503c3e82733022500c03 diff --git a/http_request_object.c b/http_request_object.c index 0a6c5d1..9c5e902 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -306,7 +306,6 @@ zend_object_value _http_request_object_new(zend_class_entry *ce TSRMLS_DC) o = ecalloc(1, sizeof(http_request_object)); o->zo.ce = ce; o->ch = curl_easy_init(); - o->pool = NULL; phpstr_init(&o->history); phpstr_init(&o->request); @@ -344,6 +343,7 @@ static inline void _http_request_object_declare_default_properties(TSRMLS_D) DCL_PROP(PUBLIC, bool, recordHistory, 1); +#ifndef WONKY /* * Request Method Constants */ @@ -388,6 +388,7 @@ static inline void _http_request_object_declare_default_properties(TSRMLS_D) DCL_CONST(long, "AUTH_NTLM", CURLAUTH_NTLM); DCL_CONST(long, "AUTH_ANY", CURLAUTH_ANY); # endif /* LIBCURL_VERSION_NUM */ +#endif /* WONKY */ } void _http_request_object_free(zend_object *object TSRMLS_DC)