diff src/http/modules/ngx_http_ssl_module.c @ 9104:69bae2437d74 quic

HTTP/3: removed "http3" parameter of "listen" directive. The parameter has been deprecated since c851a2ed5ce8.
author Roman Arutyunyan <arut@nginx.com>
date Thu, 11 May 2023 13:22:10 +0400
parents 0af598651e33
children 08ef02ad5c54
line wrap: on
line diff
--- 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 
             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;