diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-05 10:17:10 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-05 14:18:46 +0200 |
commit | 182c272133c803428af64b4cde3ad6dcc041f4b8 (patch) | |
tree | 42cc84b59d341048d1445669e171e808dc0be9b5 /lib/altsvc.c | |
parent | 2f4e14e404cf71ea4a6efbc5c4fa5bed6e3e4686 (diff) | |
download | curl-182c272133c803428af64b4cde3ad6dcc041f4b8.tar.gz |
altsvc: fix removal of expired cache entry
Closes #4192
Diffstat (limited to 'lib/altsvc.c')
-rw-r--r-- | lib/altsvc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/altsvc.c b/lib/altsvc.c index 0e9471999..cdf97d680 100644 --- a/lib/altsvc.c +++ b/lib/altsvc.c @@ -559,6 +559,7 @@ bool Curl_altsvc_lookup(struct altsvcinfo *asi, n = e->next; if(as->expires < now) { /* an expired entry, remove */ + Curl_llist_remove(&asi->list, e, NULL); altsvc_free(as); continue; } |