aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_ssl_module.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2023-05-11 13:22:10 +0400
committerRoman Arutyunyan <arut@nginx.com>2023-05-11 13:22:10 +0400
commit2ce3eeeeb76318e414b62d399da70872d2de23d8 (patch)
tree869554639be761b886c49486ed896da8a31f0c08 /src/http/modules/ngx_http_ssl_module.c
parent6cc803e713698b4b09ab46ccd7ae986faa55c386 (diff)
downloadnginx-2ce3eeeeb76318e414b62d399da70872d2de23d8.tar.gz
nginx-2ce3eeeeb76318e414b62d399da70872d2de23d8.zip
HTTP/3: removed "http3" parameter of "listen" directive.
The parameter has been deprecated since c851a2ed5ce8.
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.c')
-rw-r--r--src/http/modules/ngx_http_ssl_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c
index c0d6bae06..d2ca475d3 100644
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -477,7 +477,7 @@ ngx_http_ssl_alpn_select(ngx_ssl_conn_t *ssl_conn, const unsigned char **out,
srv = (unsigned char *) NGX_HTTP_V3_HQ_ALPN_PROTO;
srvlen = sizeof(NGX_HTTP_V3_HQ_ALPN_PROTO) - 1;
- } else if (h3scf->enable || hc->addr_conf->http3) {
+ } else if (h3scf->enable) {
srv = (unsigned char *) NGX_HTTP_V3_ALPN_PROTO;
srvlen = sizeof(NGX_HTTP_V3_ALPN_PROTO) - 1;