aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_quic_module.c
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2021-11-03 13:36:21 +0300
committerVladimir Homutov <vl@nginx.com>2021-11-03 13:36:21 +0300
commit0572c2a69f4edef04e3babdb6f9ef18ff52a9619 (patch)
treecec18af1b5170b6e85719a811f410e29d2b74033 /src/stream/ngx_stream_quic_module.c
parent5f9c4e15a398bc10e23c7d366d181380135e2503 (diff)
downloadnginx-0572c2a69f4edef04e3babdb6f9ef18ff52a9619.tar.gz
nginx-0572c2a69f4edef04e3babdb6f9ef18ff52a9619.zip
QUIC: connections with wrong ALPN protocols are now rejected.
Previously, it was not enforced in the stream module. Now, since b9e02e9b2f1d it is possible to specify protocols. Since ALPN is always required, the 'require_alpn' setting is now obsolete.
Diffstat (limited to 'src/stream/ngx_stream_quic_module.c')
-rw-r--r--src/stream/ngx_stream_quic_module.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/stream/ngx_stream_quic_module.c b/src/stream/ngx_stream_quic_module.c
index 2cd811ad4..b40b17c93 100644
--- a/src/stream/ngx_stream_quic_module.c
+++ b/src/stream/ngx_stream_quic_module.c
@@ -241,7 +241,6 @@ ngx_stream_quic_create_srv_conf(ngx_conf_t *cf)
* conf->tp.retry_scid = { 0, NULL };
* conf->tp.preferred_address = NULL
* conf->host_key = { 0, NULL }
- * conf->require_alpn = 0;
*/
conf->tp.max_idle_timeout = NGX_CONF_UNSET_MSEC;