[Webkit-unassigned] [Bug 207777] New: Set User-Agent in preconnect requests
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 14 10:06:58 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=207777
Bug ID: 207777
Summary: Set User-Agent in preconnect requests
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Page Loading
Assignee: webkit-unassigned at lists.webkit.org
Reporter: nham at apple.com
CC: beidson at apple.com
When using an HTTPS proxy, CFNetwork will not reuse a preconnected socket if the User-Agent on the preconnect request doesn't match the User-Agent of the actual request (<rdar://problem/59434166>). To work around this, we should set the User-Agent on preconnect requests.
In addition, this patch moves the preconnect request from WebProcess::loadRequest in the WebProcess to WebProcessProxy::loadRequest in the UIProcess. This is because there can be long sync IPCs that last >100 ms that occur before WebProcess::loadRequest even starts, e.g. https://bugs.webkit.org/show_bug.cgi?id=203165.
By making both changes, we see a ~2% improvement in PLT5 times.
--
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/20200214/05632ffa/attachment.htm>
More information about the webkit-unassigned
mailing list