diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2018-04-22 04:25:35 +0000 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2018-04-22 11:39:12 +0000 |
commit | 103c015784a73e86b120e2e26b3906c6787209ef (patch) | |
tree | 06c308d177619499646c1c472db31e472f69a353 | |
parent | ec1936cc93f2f2f40d26a2913e31952e6ed24d77 (diff) | |
download | netsurf-103c015784a73e86b120e2e26b3906c6787209ef.tar.gz netsurf-103c015784a73e86b120e2e26b3906c6787209ef.tar.bz2 |
HSTS: make llcache update policy on 3xx responses
-rw-r--r-- | content/llcache.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |