HTTP/3: removed useless warning regarding OpenSSL library.

After 0e6528551f26, it became impossible to run into this path.
This commit is contained in:
Sergey Kandaurov 2022-01-13 15:57:15 +03:00
parent 35fc2eb247
commit a7a3a8cc17

View File

@ -1360,17 +1360,6 @@ ngx_http_add_address(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf,
&lsopt->addr_text);
}
#endif
#if (NGX_HTTP_V3 && !defined NGX_QUIC)
if (lsopt->http3) {
ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
"nginx was built with OpenSSL that lacks QUIC "
"support, HTTP/3 is not enabled for %V",
&lsopt->addr_text);
}
#endif
addr = ngx_array_push(&port->addrs);