[Webkit-unassigned] [Bug 275467] New: The preconnect to an HTTP/1.1 origin blocks a main resource request.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 13 20:40:51 PDT 2024


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

            Bug ID: 275467
           Summary: The preconnect to an HTTP/1.1 origin blocks a main
                    resource request.
           Product: WebKit
           Version: Other
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fyomtain at 163.com
                CC: bugs-noreply at webkitgtk.org

The preconnect to an HTTP/1.1 origin blocks a main resource request in the following case:
Step: 
1. Load an HTTP/1.1 origin.
2. Set "window.location.href = current_url;"
3. The above operations was done in 3 seconds in my test.
4. The preconnection at the step 1 blocked the new request at step 2 until preconnection timed out, actually the origin is accessible.


Log:
1.
18:47:56.895: NetworkProcess::preconnectTo() http://192.168.2.110:40566/test.html
18:47:56.903: NetworkResourceLoader::startNetworkLoad() http://192.168.2.110:40566/test.html

2.
18:47:59.509: NetworkResourceLoader::startNetworkLoad() http://192.168.2.110:40566/test.html

4. wait the preconnection to time out
18:48:06.893: NetworkLoadScheduler::finishedPreconnectForMainResource() url: http://192.168.2.110:40566/test.html

-- 
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/20240614/5c8d23c1/attachment.htm>


More information about the webkit-unassigned mailing list