]> git.kaiwu.me - nginx.git/commitdiff
HTTP/3: removed useless warning regarding OpenSSL library.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 13 Jan 2022 12:57:15 +0000 (15:57 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 13 Jan 2022 12:57:15 +0000 (15:57 +0300)
After 0e6528551f26, it became impossible to run into this path.

src/http/ngx_http.c

index 4886a88bf35b90cd216aa53049e01d51e7e9bdf0..082a849a254e0d47dfe53fcdf4da988bc08eb128 100644 (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);