gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 59/220: altsvc: fix removal of expired cache entry


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 59/220: altsvc: fix removal of expired cache entry
Date: Thu, 12 Sep 2019 17:26:59 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 182c272133c803428af64b4cde3ad6dcc041f4b8
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Aug 5 10:17:10 2019 +0200

    altsvc: fix removal of expired cache entry
    
    Closes #4192
---
 lib/altsvc.c | 1 +
 1 file changed, 1 insertion(+)

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;
     }

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]