Open Bug 1386640 Opened 3 years ago Updated 1 year ago

Implement a method to disable HTTP/2 for individual sites


(Web Compatibility :: Interventions, enhancement, P3)



(Not tracked)



(Reporter: denschub, Assigned: denschub)




(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.

Blocks: 1386807
No longer blocks: 1386807
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.