Networking/Archive/http2: Difference between revisions
No edit summary |
Todesschaf (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
The current implementation is of draft-13 with compression-08 [june 27 nightly] | The current implementation is of draft-13 with compression-08 [june 27 nightly] | ||
Firefox will only be implementing HTTP/2 over TLS - and so far that means for https:// schemed URLs (see below for http:// with TLS support). It does enforce the protocol's >= TLS 1. | Firefox will only be implementing HTTP/2 over TLS - and so far that means for https:// schemed URLs (see below for http:// with TLS support). It does enforce the protocol's >= TLS 1.2 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. | 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 | feedback of any sort welcomed to pmcmanus@mozilla.com and hurley@mozilla.com | ||
There is an incredibly lightly tested, unreviewed implementation of draft-14 with compression-09 available for download at http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/hurley@todesschaf.org-0a058da6b577/ | |||
There is a separate, more experimental, build available that supports HTTP/2 draft-12 for http:// URIs using Alternate-Services (-01) and the "h2-12" profile. Sometimes this is known as opportunistic encryption. This allows HTTP/2 over TLS for http:// URIs in some cases without verification of the SSL certificate. It also allows spdy/3 and spdy/3.1 for http:// URIs using the same mechanism. | There is a separate, more experimental, build available that supports HTTP/2 draft-12 for http:// URIs using Alternate-Services (-01) and the "h2-12" profile. Sometimes this is known as opportunistic encryption. This allows HTTP/2 over TLS for http:// URIs in some cases without verification of the SSL certificate. It also allows spdy/3 and spdy/3.1 for http:// URIs using the same mechanism. | ||
That code is at https://hg.mozilla.org/try/rev/3d48401236e4 and https://github.com/mcmanus/gecko-dev/tree/oe10 with downloads at https://ftp-ssl.mozilla.org/pub/mozilla.org/firefox/try-builds/mcmanus@ducksong.com-3d48401236e4 | That code is at https://hg.mozilla.org/try/rev/3d48401236e4 and https://github.com/mcmanus/gecko-dev/tree/oe10 with downloads at https://ftp-ssl.mozilla.org/pub/mozilla.org/firefox/try-builds/mcmanus@ducksong.com-3d48401236e4 |
Revision as of 18:13, 1 August 2014
HTTP/2 for Firefox is currently under development.
HTTP/2 draft support is included in routine builds of firefox, but is disabled by default. To get the most up to date support you should use the nightly channel.
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-13 with compression-08 [june 27 nightly]
Firefox will only be implementing HTTP/2 over TLS - and so far that means for https:// schemed URLs (see below for http:// with TLS support). It does enforce the protocol's >= TLS 1.2 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 an incredibly lightly tested, unreviewed implementation of draft-14 with compression-09 available for download at http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/hurley@todesschaf.org-0a058da6b577/
There is a separate, more experimental, build available that supports HTTP/2 draft-12 for http:// URIs using Alternate-Services (-01) and the "h2-12" profile. Sometimes this is known as opportunistic encryption. This allows HTTP/2 over TLS for http:// URIs in some cases without verification of the SSL certificate. It also allows spdy/3 and spdy/3.1 for http:// URIs using the same mechanism.
That code is at https://hg.mozilla.org/try/rev/3d48401236e4 and https://github.com/mcmanus/gecko-dev/tree/oe10 with downloads at https://ftp-ssl.mozilla.org/pub/mozilla.org/firefox/try-builds/mcmanus@ducksong.com-3d48401236e4