http_globals->etag = NULL;
http_globals->lmod = 0;
#ifdef HTTP_HAVE_CURL
- //phpstr_init_ex(&http_globals->curlbuf, HTTP_CURLBUF_SIZE, 1);
+ phpstr_init_ex(&http_globals->curlbuf, HTTP_CURLBUF_SIZE, 0);
zend_llist_init(&http_globals->to_free, sizeof(char *), free_to_free, 0);
#endif
http_globals->allowed_methods = NULL;
{
UNREGISTER_INI_ENTRIES();
#ifdef HTTP_HAVE_CURL
- //phpstr_free(&HTTP_G(curlbuf));
+ phpstr_dtor(&HTTP_G(curlbuf));
curl_global_cleanup();
#endif
return SUCCESS;
}
#ifdef HTTP_HAVE_CURL
- //phpstr_free(&HTTP_G(curlbuf));
+ phpstr_dtor(&HTTP_G(curlbuf));
#endif
return SUCCESS;