]> git.kaiwu.me - nginx.git/commit
Stream ssl_preread: $ssl_preread_protocol variable.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 11 Jul 2018 14:56:51 +0000 (17:56 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 11 Jul 2018 14:56:51 +0000 (17:56 +0300)
commita8e38e2a9c1c9f3afb22fdb196e85fb2f28c192c
tree3fe47861a23706fa424406b91c2185f7e2032e8d
parent527cac297952f802b834704a74436a4fa55c3957
Stream ssl_preread: $ssl_preread_protocol variable.

The variable keeps the latest SSL protocol version supported by the client.
The variable has the same format as $ssl_protocol.

The version is read from the client_version field of ClientHello.  If the
supported_versions extension is present in the ClientHello, then the version
is set to TLSv1.3.
src/stream/ngx_stream_ssl_preread_module.c