@@ -102,7 +102,7 @@ if [ $HTTP = YES ]; then
102102 fi
103103
104104
105- if [ $HTTP_V2 = YES ]; then
105+ if [ $HTTP_V2 = YES -o $HTTP_V3 = YES ]; then
106106 HTTP_SRCS="$HTTP_SRCS $HTTP_HUFF_SRCS"
107107 fi
108108
@@ -124,6 +124,7 @@ if [ $HTTP = YES ]; then
124124 # ngx_http_header_filter
125125 # ngx_http_chunked_filter
126126 # ngx_http_v2_filter
127+ # ngx_http_v3_filter
127128 # ngx_http_range_header_filter
128129 # ngx_http_gzip_filter
129130 # ngx_http_postpone_filter
@@ -156,6 +157,7 @@ if [ $HTTP = YES ]; then
156157 ngx_http_header_filter_module \
157158 ngx_http_chunked_filter_module \
158159 ngx_http_v2_filter_module \
160+ ngx_http_v3_filter_module \
159161 ngx_http_range_header_filter_module \
160162 ngx_http_gzip_filter_module \
161163 ngx_http_postpone_filter_module \
@@ -217,6 +219,17 @@ if [ $HTTP = YES ]; then
217219 . auto/module
218220 fi
219221
222+ if [ $HTTP_V3 = YES ]; then
223+ ngx_module_name=ngx_http_v3_filter_module
224+ ngx_module_incs=
225+ ngx_module_deps=
226+ ngx_module_srcs=src/http/v3/ngx_http_v3_filter_module.c
227+ ngx_module_libs=
228+ ngx_module_link=$HTTP_V3
229+
230+ . auto/module
231+ fi
232+
220233 if :; then
221234 ngx_module_name=ngx_http_range_header_filter_module
222235 ngx_module_incs=
@@ -426,6 +439,33 @@ if [ $HTTP = YES ]; then
426439 . auto/module
427440 fi
428441
442+ if [ $HTTP_V3 = YES ]; then
443+ USE_OPENSSL_QUIC=YES
444+ HTTP_SSL=YES
445+
446+ have=NGX_HTTP_V3 . auto/have
447+ have=NGX_HTTP_HEADERS . auto/have
448+
449+ ngx_module_name=ngx_http_v3_module
450+ ngx_module_incs=src/http/v3
451+ ngx_module_deps="src/http/v3/ngx_http_v3.h \
452+ src/http/v3/ngx_http_v3_encode.h \
453+ src/http/v3/ngx_http_v3_parse.h \
454+ src/http/v3/ngx_http_v3_table.h \
455+ src/http/v3/ngx_http_v3_uni.h"
456+ ngx_module_srcs="src/http/v3/ngx_http_v3.c \
457+ src/http/v3/ngx_http_v3_encode.c \
458+ src/http/v3/ngx_http_v3_parse.c \
459+ src/http/v3/ngx_http_v3_table.c \
460+ src/http/v3/ngx_http_v3_uni.c \
461+ src/http/v3/ngx_http_v3_request.c \
462+ src/http/v3/ngx_http_v3_module.c"
463+ ngx_module_libs=
464+ ngx_module_link=$HTTP_V3
465+
466+ . auto/module
467+ fi
468+
429469 if :; then
430470 ngx_module_name=ngx_http_static_module
431471 ngx_module_incs=
@@ -1272,6 +1312,63 @@ if [ $USE_OPENSSL = YES ]; then
12721312fi
12731313
12741314
1315+ if [ $USE_OPENSSL_QUIC = YES ]; then
1316+ ngx_module_type=CORE
1317+ ngx_module_name=ngx_quic_module
1318+ ngx_module_incs=
1319+ ngx_module_deps="src/event/quic/ngx_event_quic.h \
1320+ src/event/quic/ngx_event_quic_transport.h \
1321+ src/event/quic/ngx_event_quic_protection.h \
1322+ src/event/quic/ngx_event_quic_connection.h \
1323+ src/event/quic/ngx_event_quic_frames.h \
1324+ src/event/quic/ngx_event_quic_connid.h \
1325+ src/event/quic/ngx_event_quic_migration.h \
1326+ src/event/quic/ngx_event_quic_streams.h \
1327+ src/event/quic/ngx_event_quic_ssl.h \
1328+ src/event/quic/ngx_event_quic_tokens.h \
1329+ src/event/quic/ngx_event_quic_ack.h \
1330+ src/event/quic/ngx_event_quic_output.h \
1331+ src/event/quic/ngx_event_quic_socket.h \
1332+ src/event/quic/ngx_event_quic_openssl_compat.h"
1333+ ngx_module_srcs="src/event/quic/ngx_event_quic.c \
1334+ src/event/quic/ngx_event_quic_udp.c \
1335+ src/event/quic/ngx_event_quic_transport.c \
1336+ src/event/quic/ngx_event_quic_protection.c \
1337+ src/event/quic/ngx_event_quic_frames.c \
1338+ src/event/quic/ngx_event_quic_connid.c \
1339+ src/event/quic/ngx_event_quic_migration.c \
1340+ src/event/quic/ngx_event_quic_streams.c \
1341+ src/event/quic/ngx_event_quic_ssl.c \
1342+ src/event/quic/ngx_event_quic_tokens.c \
1343+ src/event/quic/ngx_event_quic_ack.c \
1344+ src/event/quic/ngx_event_quic_output.c \
1345+ src/event/quic/ngx_event_quic_socket.c \
1346+ src/event/quic/ngx_event_quic_openssl_compat.c"
1347+
1348+ ngx_module_libs=
1349+ ngx_module_link=YES
1350+ ngx_module_order=
1351+
1352+ . auto/module
1353+
1354+ if [ $QUIC_BPF = YES -a $SO_COOKIE_FOUND = YES ]; then
1355+ ngx_module_type=CORE
1356+ ngx_module_name=ngx_quic_bpf_module
1357+ ngx_module_incs=
1358+ ngx_module_deps=
1359+ ngx_module_srcs="src/event/quic/ngx_event_quic_bpf.c \
1360+ src/event/quic/ngx_event_quic_bpf_code.c"
1361+ ngx_module_libs=
1362+ ngx_module_link=YES
1363+ ngx_module_order=
1364+
1365+ . auto/module
1366+
1367+ have=NGX_QUIC_BPF . auto/have
1368+ fi
1369+ fi
1370+
1371+
12751372if [ $USE_PCRE = YES ]; then
12761373 ngx_module_type=CORE
12771374 ngx_module_name=ngx_regex_module
0 commit comments