Bug 152477 - Limit cached redirect chain length
Summary: Limit cached redirect chain length
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-21 06:20 PST by Antti Koivisto
Modified: 2015-12-21 11:57 PST (History)
3 users (show)

See Also:


Attachments
patch (8.40 KB, patch)
2015-12-21 06:54 PST, Antti Koivisto
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2015-12-21 06:20:11 PST
Networking layer prevents cycles and limits the redirect chain length so creating cache cycles is difficult. For robustness the network cache should still limit the maximum redirect chain length.
Comment 1 Antti Koivisto 2015-12-21 06:54:13 PST
Created attachment 267749 [details]
patch
Comment 2 Andreas Kling 2015-12-21 11:13:36 PST
Comment on attachment 267749 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=267749&action=review

r=me

> Source/WebKit2/NetworkProcess/NetworkResourceLoader.cpp:53
> +// Networking layer follows over 30 redirects but caching that many seems unnecessary.

This comment sounds platform-specific.
Comment 3 Antti Koivisto 2015-12-21 11:57:30 PST
https://trac.webkit.org/r194337