mirror of https://github.com/moparisthebest/curl
parent
2f4e14e404
commit
182c272133
|
@ -559,6 +559,7 @@ bool Curl_altsvc_lookup(struct altsvcinfo *asi,
|
||||||
n = e->next;
|
n = e->next;
|
||||||
if(as->expires < now) {
|
if(as->expires < now) {
|
||||||
/* an expired entry, remove */
|
/* an expired entry, remove */
|
||||||
|
Curl_llist_remove(&asi->list, e, NULL);
|
||||||
altsvc_free(as);
|
altsvc_free(as);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue