[wpt-sync] Sync PR 38451 - Except where impractical, set Connection: Close with close_connection
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38451 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38451
Details from upstream follow.
Sam Sneddon <gsnedders@apple.com> wrote:
Except where impractical, set Connection: Close with close_connection
Because of the unexpected close, CFNetwork sometimes runs into a retry limit trying to find a working connection. Given we SHOULD be closing gracefully, and these tests are not attempting to test abrupt closure, it makes sense to just change these tests.
The files not changed here are:
tools/wptserve/wptserve/server.py
tools/wptserve/wptserve/handlers.py
tools/wptserve/wptserve/response.py
fetch/h1-parsing/resources/status-code.py
fetch/h1-parsing/resources/message.pySee also https://github.com/web-platform-tests/wpt/pull/38091.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Assignee | ||
Comment 4•2 years ago
|
||
Comment 6•2 years ago
|
||
bugherder |
Assignee | ||
Comment 7•2 years ago
|
||
Description
•