From 103c015784a73e86b120e2e26b3906c6787209ef Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Sun, 22 Apr 2018 04:25:35 +0000 Subject: HSTS: make llcache update policy on 3xx responses --- content/llcache.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'content') diff --git a/content/llcache.c b/content/llcache.c index bb61236a3..29b42a1c0 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -1981,6 +1981,8 @@ static nserror llcache_fetch_redirect(llcache_object *object, /* And mark it complete */ object->fetch.state = LLCACHE_FETCH_COMPLETE; + (void) llcache_hsts_update_policy(object); + /* Forcibly stop redirecting if we've followed too many redirects */ #define REDIRECT_LIMIT 10 if (object->fetch.redirect_count > REDIRECT_LIMIT) { -- cgit v1.2.3