php_http_buffer_t ranges;
struct {
- uint count;
+ uint32_t count;
double delay;
} retry;
long l = 0;
double d = 0;
struct curl_slist *s = NULL, *p = NULL;
- zval tmp = {{0}};
+ zval tmp;
+
+ ZVAL_NULL(&tmp);
/* BEGIN::CURLINFO */
if (CURLE_OK == curl_easy_getinfo(ch, CURLINFO_EFFECTIVE_URL, &c)) {
curl_easy_setopt(handler->handle, CURLOPT_COOKIELIST, "FLUSH");
curl_easy_setopt(handler->handle, CURLOPT_SHARE, NULL);
/* see gh issue #84 */
- //if (php_http_curle_get_storage(handler->handle)->cookiestore) {
- //curl_easy_setopt(handler->handle, CURLOPT_COOKIEJAR, NULL);
- //}
+ curl_easy_setopt(handler->handle, CURLOPT_COOKIEJAR, NULL);
}
static void php_http_client_curl_handler_dtor(php_http_client_curl_handler_t *handler)