[wpt-sync] Sync PR 47085 - [webdriver] Reuse the HTTP connection to the WebDriver remote end
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox130 fixed)
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47085 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47085
Details from upstream follow.
Jonathan Lee <jonathanjlee@google.com> wrote:
[webdriver] Reuse the HTTP connection to the WebDriver remote end
HTTPWireProtocol
has an internal flag_last_request_is_blocked
to tell if the underlying HTTP connection is unusable and should be thrown away (see #21889). However, the transport sets the flag too early, which has the effect of transparently closing and reopening the connection before every request.This is wasteful and appears to sometimes exhaust the host machine's usable ports in long test runs (https://crbug.com/343720396). Set the flag after it's checked to avoid unnecessary connection closures.
Assignee | ||
Comment 1•9 months ago
|
||
Assignee | ||
Comment 2•8 months ago
|
||
Comment 4•8 months ago
|
||
bugherder |
Description
•