You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Section 3 describes the 3 ways a client/server can establish an HTTP/2 connection:
3.2 Starting HTTP/2 for "http" URIs
This uses the HTTP/1.1 Upgrade mechanism to switch from HTTP/1.1 to HTTP/2 mid-connection. This seems like the most complicated setup from the server perspective because it has to "talk" both HTTP/1.1 and HTTP/2 over the same connection.
3.3 Starting HTTP/2 for "https" URIs
The spec requires that HTTP/2 of TLS must negotiate the protocol using the TLS ALPN extension.
If the client knows that the server supports HTTP/2 through outside means, it can immediately start talking the protocol through a clear-text TCP connection.
This should be the most straight-forward to implement for a server, as it could listen on a port specifically intended for HTTP/2 connections.
The spec only supports this method of protocol version identification for clear-text connections, and not for HTTP/2 over TLS.
The text was updated successfully, but these errors were encountered: