summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules64
1 files changed, 64 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index f1c63f3d5..205023d3a 100644
--- a/auto/modules
+++ b/auto/modules
@@ -403,6 +403,30 @@ if [ $HTTP = YES ]; then
ngx_module_type=HTTP
+ if [ $HTTP_V3 = YES ]; then
+ have=NGX_HTTP_V3 . auto/have
+ have=NGX_HTTP_HEADERS . auto/have
+ HTTP_QUIC=YES
+
+ # XXX for Huffman
+ HTTP_V2=YES
+
+ ngx_module_name=ngx_http_v3_module
+ ngx_module_incs=src/http/v3
+ ngx_module_deps="src/http/v3/ngx_http_v3.h \
+ src/http/v3/ngx_http_v3_parse.h"
+ ngx_module_srcs="src/http/v3/ngx_http_v3_encode.c \
+ src/http/v3/ngx_http_v3_parse.c \
+ src/http/v3/ngx_http_v3_tables.c \
+ src/http/v3/ngx_http_v3_streams.c \
+ src/http/v3/ngx_http_v3_request.c \
+ src/http/v3/ngx_http_v3_module.c"
+ ngx_module_libs=
+ ngx_module_link=$HTTP_V3
+
+ . auto/module
+ fi
+
if [ $HTTP_V2 = YES ]; then
have=NGX_HTTP_V2 . auto/have
have=NGX_HTTP_HEADERS . auto/have
@@ -669,6 +693,21 @@ if [ $HTTP = YES ]; then
. auto/module
fi
+ if [ $HTTP_QUIC = YES ]; then
+ USE_OPENSSL_QUIC=YES
+ have=NGX_HTTP_QUIC . auto/have
+ HTTP_SSL=YES
+
+ ngx_module_name=ngx_http_quic_module
+ ngx_module_incs=
+ ngx_module_deps=src/http/modules/ngx_http_quic_module.h
+ ngx_module_srcs=src/http/modules/ngx_http_quic_module.c
+ ngx_module_libs=
+ ngx_module_link=$HTTP_QUIC
+
+ . auto/module
+ fi
+
if [ $HTTP_SSL = YES ]; then
USE_OPENSSL=YES
have=NGX_HTTP_SSL . auto/have
@@ -1026,6 +1065,20 @@ if [ $STREAM != NO ]; then
ngx_module_incs=
+ if [ $STREAM_QUIC = YES ]; then
+ USE_OPENSSL_QUIC=YES
+ have=NGX_STREAM_QUIC . auto/have
+ STREAM_SSL=YES
+
+ ngx_module_name=ngx_stream_quic_module
+ ngx_module_deps=src/stream/ngx_stream_quic_module.h
+ ngx_module_srcs=src/stream/ngx_stream_quic_module.c
+ ngx_module_libs=
+ ngx_module_link=$STREAM_QUIC
+
+ . auto/module
+ fi
+
if [ $STREAM_SSL = YES ]; then
USE_OPENSSL=YES
have=NGX_STREAM_SSL . auto/have
@@ -1259,6 +1312,17 @@ if [ $USE_OPENSSL = YES ]; then
ngx_module_link=YES
ngx_module_order=
+ if [ $USE_OPENSSL_QUIC = YES ]; then
+ ngx_module_deps="$ngx_module_deps \
+ src/event/ngx_event_quic.h \
+ src/event/ngx_event_quic_transport.h \
+ src/event/ngx_event_quic_protection.h"
+ ngx_module_srcs="$ngx_module_srcs \
+ src/event/ngx_event_quic.c \
+ src/event/ngx_event_quic_transport.c \
+ src/event/ngx_event_quic_protection.c"
+ fi
+
. auto/module
fi