Closed Bug 1386640 Opened 7 years ago Closed 3 years ago

Implement a method to disable HTTP/2 for individual sites

Categories

(Web Compatibility :: Interventions, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: denschub, Assigned: denschub)

References

Details

Attachments

(1 file)

As a follow-up for bug 1385358, we want to have a mechanism for disabling http2 for individual sites/requests. Ideally, the rules would look similar to the ones we use for overriding UAs, so that maintenance is easy for everyone.

We do have a PoC at [0] (also attaching the patch to this bug since the link will not work forever), but this needs some more work:

* Tests are missing.
* There is no way to skip disabling http2 for testing purposes.
* The method of setting `allowSpdy` in that noficiation observer might actually be racy, since, in theory, it should also work with `http-on-modify-request`. We should do some investigation first to check that we don't create something that may break sometimes.
* The Necko people offered their help to get parts of this patch supported by some C++ source in Necko to make it faster, so we should ping them (possible :jduell) when we have something that's good with us to see how we can collaborate.

[0]: https://github.com/mozilla/webcompat-addon/compare/master...denschub:bug1385358-http2-disabler
Blocks: 1386807
No longer blocks: 1386807
Priority: -- → P3

It's been four years. We haven't seen any real need for this, not even for http/3. And the linked patch no longer applies as we're no longer a bootstrapped extension. Let's close this, and if we ever need something like this, we can talk about it again.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: