Closed Bug 1915134 Opened 5 months ago Closed 5 months ago

Add pref to enable Extensible Prioritization Scheme without sending SETTINGS_NO_RFC7540_PRIORITIES

Categories

(Core :: Networking: HTTP, task, P2)

task

Tracking

()

VERIFIED FIXED
132 Branch
Tracking Status
firefox-esr128 --- verified
firefox132 --- verified
firefox133 --- verified
firefox134 --- verified

People

(Reporter: valentin, Assigned: valentin)

References

Details

(Keywords: dev-doc-complete, Whiteboard: [necko-triaged])

Attachments

(4 files, 1 obsolete file)

In Bug 1909666 we re-enabled network.http.http2.enabled.deps due to instances of site breaking.
The sites were breaking because we were sending the SETTINGS_NO_RFC7540_PRIORITIES option.
We should add a separate pref whether to send that, so we can set network.http.http2.enabled.deps to false and not send the option.
It's unclear whether servers will respond to the stream weight dependencies or the Priority header when that happens, but it does make us move forward with this.

Blocks: 1918458
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/e824a4a58de7 Add pref to enable Extensible Prioritization Scheme without sending SETTINGS_NO_RFC7540_PRIORITIES r=acreskey,necko-reviewers,jesup https://hg.mozilla.org/integration/autoland/rev/2f6a4acf69b2 Flip network.http.http2.enabled.deps to false r=acreskey
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
Keywords: dev-doc-needed

My understanding is that

  • in FF128 we enabled "Implement Extensible Prioritization Scheme for HTTP/2". There were some issues reported in bug linked from https://bugzilla.mozilla.org/show_bug.cgi?id=1865040#c11, but this remained enabled.
  • FF132 this has been disabled again in this issue by switching network.http.http2.enabled.deps pref to false.
  1. Is that right?
  2. Is the new pref network.http.http2.send_NO_RFC7540_PRI notable, given it is default on?
  3. Is there an intent to re-enable this soon?
Flags: needinfo?(valentin.gosu)

(In reply to Hamish Willee from comment #5)

My understanding is that

  • in FF128 we enabled "Implement Extensible Prioritization Scheme for HTTP/2". There were some issues reported in bug linked from https://bugzilla.mozilla.org/show_bug.cgi?id=1865040#c11, but this remained enabled.
  • FF132 this has been disabled again in this issue by switching network.http.http2.enabled.deps pref to false.
  1. Is that right?
  2. Is the new pref network.http.http2.send_NO_RFC7540_PRI notable, given it is default on?
  3. Is there an intent to re-enable this soon?
  1. Bug 1865040 shipped in 128, but due to regressions we flipped network.http.http2.enabled.deps back to true in bug 1909666 (which got uplifted to 128). We determined that the regressions were most likely caused by the HTTP/2 Push part of the patches, so we disabled HTTP/2 Push in bug 1915848. This bug again disables the pref old HTTP/2 stream dependencies.
  2. No, it's just a safety pref in case servers misbehave when receiving the new settings parameter.
  3. We didn't send an intent to ship mostly because this was partly shipped in previous builds - The priority header in bug 1865394 and HTTP/3 priority update frames in bug 1734132
Flags: needinfo?(valentin.gosu)

All of that means (as far as I can tell) no need for any docs changes. Thank you.

Attachment #9436353 - Flags: approval-mozilla-esr128?
Attachment #9436353 - Attachment is obsolete: true
Attachment #9436353 - Flags: approval-mozilla-esr128?
Attachment #9436363 - Flags: approval-mozilla-esr128?
Attachment #9436364 - Flags: approval-mozilla-esr128?

esr128 Uplift Approval Request

  • User impact if declined: Websites that implement HTTP/2 Push incorrectly might not work in Firefox but work in other browsers
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Check that bug 1913100 and bug 1909271 don't reproduce.
  • Risk associated with taking this patch: lowish
  • Explanation of risk level: These specific patches have already been on Release for a few weeks without regressions, but there's a small chance it causes unexpected issues on ESR.
  • String changes made/needed: none
  • Is Android affected?: yes
Flags: qe-verify+
Regressions: 1928600
See Also: → 1930122
Attachment #9436364 - Flags: approval-mozilla-esr128? → approval-mozilla-esr128+
Attachment #9436363 - Flags: approval-mozilla-esr128? → approval-mozilla-esr128+
Regressions: 1931292

Reproduced the issue with Firefox 130.0a1 (2024-07-22) on Windows 10 x64 by following the suggested steps in comment 11 to open pages from bug 1913100 and bug 1909271. The https://www.mapbusinessonline.com/ and https://dev.nobilacasa.ro/ webpages do not load.
The pages are correctly loaded with Firefox 134.0a1 (2024-11-19), 133.0, 132.0.2 and 128.5.0esr on Windows 10x64, macOS 12 and Ubuntu 24.
Note that I encountered bug 1932308 when testing this.

Status: RESOLVED → VERIFIED
See Also: → 1932308
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: