Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
9103:b9230e37b8a1 | 9104:69bae2437d74 |
---|---|
475 | 475 |
476 } else if (h3scf->enable_hq) { | 476 } else if (h3scf->enable_hq) { |
477 srv = (unsigned char *) NGX_HTTP_V3_HQ_ALPN_PROTO; | 477 srv = (unsigned char *) NGX_HTTP_V3_HQ_ALPN_PROTO; |
478 srvlen = sizeof(NGX_HTTP_V3_HQ_ALPN_PROTO) - 1; | 478 srvlen = sizeof(NGX_HTTP_V3_HQ_ALPN_PROTO) - 1; |
479 | 479 |
480 } else if (h3scf->enable || hc->addr_conf->http3) { | 480 } else if (h3scf->enable) { |
481 srv = (unsigned char *) NGX_HTTP_V3_ALPN_PROTO; | 481 srv = (unsigned char *) NGX_HTTP_V3_ALPN_PROTO; |
482 srvlen = sizeof(NGX_HTTP_V3_ALPN_PROTO) - 1; | 482 srvlen = sizeof(NGX_HTTP_V3_ALPN_PROTO) - 1; |
483 | 483 |
484 } else { | 484 } else { |
485 return SSL_TLSEXT_ERR_ALERT_FATAL; | 485 return SSL_TLSEXT_ERR_ALERT_FATAL; |