From: Sergey Kandaurov Date: Thu, 13 Jan 2022 12:57:15 +0000 (+0300) Subject: HTTP/3: removed useless warning regarding OpenSSL library. X-Git-Tag: release-1.25.0~4^2~145 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=a7a3a8cc1778fee8597b34ce5265453ceda81b08;p=nginx.git HTTP/3: removed useless warning regarding OpenSSL library. After 0e6528551f26, it became impossible to run into this path. --- diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 4886a88bf..082a849a2 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -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);