mirror of
https://github.com/curl/curl.git
synced 2025-09-04 11:24:59 +03:00
parent
a5f0ab7995
commit
de89b86046
|
@ -1615,6 +1615,9 @@ static struct curl_slist *cookie_list(struct Curl_easy *data)
|
||||||
if(!data->cookies || (data->cookies->numcookies == 0))
|
if(!data->cookies || (data->cookies->numcookies == 0))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
/* at first, remove expired cookies */
|
||||||
|
remove_expired(data->cookies);
|
||||||
|
|
||||||
for(i = 0; i < COOKIE_HASH_SIZE; i++) {
|
for(i = 0; i < COOKIE_HASH_SIZE; i++) {
|
||||||
for(n = Curl_llist_head(&data->cookies->cookielist[i]); n;
|
for(n = Curl_llist_head(&data->cookies->cookielist[i]); n;
|
||||||
n = Curl_node_next(n)) {
|
n = Curl_node_next(n)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user