From 0572c2a69f4edef04e3babdb6f9ef18ff52a9619 Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Wed, 3 Nov 2021 13:36:21 +0300 Subject: 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. --- src/stream/ngx_stream_quic_module.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/stream/ngx_stream_quic_module.c') 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; -- cgit