[Webkit-unassigned] [Bug 253176] New: Unify preconnect implementations in NetworkProcess

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 1 11:20:19 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=253176

            Bug ID: 253176
           Summary: Unify preconnect implementations in NetworkProcess
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nham at apple.com

There are a lot of callsites in NetworkProcess that manually create a PreconnectTask with differing NetworkLoadParameters:

* NetworkProcess::preconnectTo - used to preconnect to main resources
* NetworkConnectionToWebProcess::preconnectTo - used to handle preconnects created by `<link rel="preconnect" ...>`
* SpeculativeLoadManager::preconnectForSubresource - used to preconnect to subresource domains speculatively

And then in 253120 I've added another callsite `EarlyHintsResourceLoader::startPreconnectTask`.

It seems like we should be able to unify these callsites into something a bit saner.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230301/a5e9d050/attachment-0001.htm>


More information about the webkit-unassigned mailing list