X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_client_curl.c;fp=php_http_client_curl.c;h=3b4d5b187ca3e9efe328be60871eb0e00fefad07;hp=26a29943f8942dc35b24d84271110e0217ec1074;hb=2e8a57c215cf1e5955a141636c1a7c154a7798ab;hpb=401e7e3f740efedb5e543948fe89e1c2dfad47c5 diff --git a/php_http_client_curl.c b/php_http_client_curl.c index 26a2994..3b4d5b1 100644 --- a/php_http_client_curl.c +++ b/php_http_client_curl.c @@ -410,17 +410,6 @@ static STATUS php_http_curle_get_info(CURL *ch, HashTable *info) add_assoc_zval_ex(&array, "ssl_engines", sizeof("ssl_engines"), subarray); curl_slist_free_all(s); } - if (CURLE_OK == curl_easy_getinfo(ch, CURLINFO_COOKIELIST, &s)) { - MAKE_STD_ZVAL(subarray); - array_init(subarray); - for (p = s; p; p = p->next) { - if (p->data) { - add_next_index_string(subarray, p->data, 1); - } - } - add_assoc_zval_ex(&array, "cookies", sizeof("cookies"), subarray); - curl_slist_free_all(s); - } if (CURLE_OK == curl_easy_getinfo(ch, CURLINFO_REDIRECT_URL, &c)) { add_assoc_string_ex(&array, "redirect_url", sizeof("redirect_url"), c ? c : "", 1); }