nginx: add quic modue
authorTiago Gaspar <tiagogaspar8@gmail.com>
Sun, 2 Jul 2023 17:14:10 +0000 (18:14 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 5 Jul 2023 19:27:16 +0000 (21:27 +0200)
This commit  adds support for http/3. This is an experimental version
and isn't fully supported because nginx is being built with the regular
OpenSSL and the regular one doesn't support quic.

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
net/nginx/Config_ssl.in
net/nginx/Makefile

index fbfb64ae72dd804cd7fabd184c138832bdf84706..990a01e813c5831acf8e1aff28ca425621718755 100644 (file)
@@ -175,6 +175,11 @@ config NGINX_HTTP_V2
        prompt "Enable HTTP_V2 module"
        default y
 
+config NGINX_HTTP_QUIC
+       bool
+       prompt "Enable QUIC support"
+       default n
+
 config NGINX_PCRE
        bool
        prompt "Enable PCRE library usage"
index b90f55d0aa767e0fe5f1eefd8055920d275ff825..5c162a3bcd9b42ee5775f281594ce7bb1450c22a 100644 (file)
@@ -76,6 +76,7 @@ PKG_CONFIG_DEPENDS := \
        CONFIG_NGINX_HTTP_UPSTREAM_ZONE \
        CONFIG_NGINX_HTTP_CACHE \
        CONFIG_NGINX_HTTP_V2 \
+       CONFIG_NGINX_HTTP_QUIC \
        CONFIG_NGINX_PCRE \
        CONFIG_NGINX_HTTP_REAL_IP \
        CONFIG_NGINX_HTTP_SECURE_LINK \
@@ -401,6 +402,7 @@ CONFIGURE_ARGS += \
        $(if $(call IsEnabled,NGINX_FLV),--with-http_flv_module) \
        $(if $(call IsEnabled,NGINX_DAV),--with-http_dav_module) \
        $(if $(call IsEnabled,NGINX_HTTP_AUTH_REQUEST),--with-http_auth_request_module) \
+       $(if $(call IsEnabled,NGINX_HTTP_QUIC),--with-http_v3_module) \
        $(if $(call IsEnabled,NGINX_HTTP_V2),--with-http_v2_module) \
        $(if $(call IsEnabled,NGINX_HTTP_REAL_IP),--with-http_realip_module) \
        $(if $(call IsEnabled,NGINX_HTTP_SECURE_LINK),--with-http_secure_link_module) \