diff options
author | Vladimir Homutov <vl@nginx.com> | 2021-11-03 13:36:21 +0300 |
---|---|---|
committer | Vladimir Homutov <vl@nginx.com> | 2021-11-03 13:36:21 +0300 |
commit | 0572c2a69f4edef04e3babdb6f9ef18ff52a9619 (patch) | |
tree | cec18af1b5170b6e85719a811f410e29d2b74033 /src/http/modules/ngx_http_quic_module.c | |
parent | 5f9c4e15a398bc10e23c7d366d181380135e2503 (diff) | |
download | nginx-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/http/modules/ngx_http_quic_module.c')
-rw-r--r-- | src/http/modules/ngx_http_quic_module.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_quic_module.c b/src/http/modules/ngx_http_quic_module.c index ce13a223f..9e6d17ead 100644 --- a/src/http/modules/ngx_http_quic_module.c +++ b/src/http/modules/ngx_http_quic_module.c @@ -331,7 +331,6 @@ ngx_http_quic_create_srv_conf(ngx_conf_t *cf) conf->retry = NGX_CONF_UNSET; conf->gso_enabled = NGX_CONF_UNSET; - conf->require_alpn = 1; return conf; } |