Session Protocol¶
Traffic Server supports some session level protocols in place of or on top of HTTP. These can be provided by a plugin (see New Protocol Plugins) or be one that is supported directly by Traffic Server. Note that the SPDY protocol is deprecated as of v6.2.0, and will be removed in v7.0.0.
Session protocols are specified by explicit names:
http/0.9http/1.0http/1.1http/2spdy/1spdy/2spdy/3spdy/3.1
The session protocols supported on a proxy port are a subset of these values. For convenience some pseudo-values are defined in terms of these fundamental protocols:
httpmeanshttp/0.9,http/1.0, andhttp/1.1spdymeansspdy/3andspdy/3.1.http2meanshttp/2
Each proxy port can be configured in :ts:cv:`proxy.config.http.server_ports` to support a subset of these session protocols. For TLS enabled connections this configuration controls which protocols are offered by NPN. Protocol sniffing is use for non-TLS proxy ports to determine which protocol is being used by the client. If the detected protocol is not supported for that proxy port the connection is dropped.