diff src/stream/ngx_stream_ssl_module.h @ 7936:b9e02e9b2f1d

Stream: the "ssl_alpn" directive. The directive sets the server list of supported application protocols and requires one of this protocols to be negotiated if client is using ALPN.
author Vladimir Homutov <vl@nginx.com>
date Tue, 19 Oct 2021 12:19:59 +0300
parents 3bff3f397c05
children
line wrap: on
line diff
--- a/src/stream/ngx_stream_ssl_module.h
+++ b/src/stream/ngx_stream_ssl_module.h
@@ -42,6 +42,7 @@ typedef struct {
     ngx_str_t        client_certificate;
     ngx_str_t        trusted_certificate;
     ngx_str_t        crl;
+    ngx_str_t        alpn;
 
     ngx_str_t        ciphers;