Networking/Archive/http2: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
HTTP/2 for Firefox is currently under development.
HTTP/2 for Firefox is currently under development.


This page contains a link to the most recent build with internet-draft level support for it. HTTP/2 is not available yet on any of the normal distribution channels (e.g. release, beta, aurora, nightly). Builds here are provided for the purpose of enhancing interop with other implementations and gaining experience with the protocol to inform its standardization - this space will change rapidly.
As of Jan 18 2014, HTTP/2 draft support is included in routine builds of the nightly firefox-29 channel. It is disabled by default.
 
To enable, go to about:config in the location bar and set network.http.spdy.enabled.http2draft and security.ssl.enable_alpn to true


The current implementation is of draft-09 and compression-05.
The current implementation is of draft-09 and compression-05.
It is serial 023 cset d1c568332585 on try
source is at https://tbpl.mozilla.org/?tree=Try&rev=d1c568332585
Builds for windows, os x, and linux are at https://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/hurley@todesschaf.org-d1c568332585


Firefox will only be implementing HTTP/2 over TLS - and right now that means for https:// schemed URLs. It does enforce the protocol's >= TLS 1.1 requirement - if a server negotiates HTTP/2 with a lower TLS version it is treated as a protocol error. (there is a preference for changing that for testing purposes if you need it.)
Firefox will only be implementing HTTP/2 over TLS - and right now that means for https:// schemed URLs. It does enforce the protocol's >= TLS 1.1 requirement - if a server negotiates HTTP/2 with a lower TLS version it is treated as a protocol error. (there is a preference for changing that for testing purposes if you need it.)

Revision as of 15:33, 18 January 2014

HTTP/2 for Firefox is currently under development.

As of Jan 18 2014, HTTP/2 draft support is included in routine builds of the nightly firefox-29 channel. It is disabled by default.

To enable, go to about:config in the location bar and set network.http.spdy.enabled.http2draft and security.ssl.enable_alpn to true

The current implementation is of draft-09 and compression-05.

Firefox will only be implementing HTTP/2 over TLS - and right now that means for https:// schemed URLs. It does enforce the protocol's >= TLS 1.1 requirement - if a server negotiates HTTP/2 with a lower TLS version it is treated as a protocol error. (there is a preference for changing that for testing purposes if you need it.)

This build supports basic push and continuations and both alpn and npn.

feedback of any sort welcomed to pmcmanus@mozilla.com and hurley@mozilla.com

There is a separate, more experimental, build available that supports HTTP/2 for http:// URIs using Alternate-Services and the "h2t" profile. This allows HTTP/2 over TLS for http:// URIs in some cases without verification of the SSL certificate. That code is at

https://tbpl.mozilla.org/?tree=Try&rev=077151e1c38e and downloads https://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/mcmanus@ducksong.com-077151e1c38e/