comparison auto/modules @ 8555:d4a6c03cfcb6 quic

HTTP/3: got rid of HTTP/2 module dependency. The Huffman encoder/decoder now can be built separately from HTTP/2 module.
author Vladimir Homutov <vl@nginx.com>
date Thu, 05 Aug 2021 11:09:13 +0300
parents f4d3f5d93a82
children 598f8e3bef30
comparison
equal deleted inserted replaced
8554:4f922f611135 8555:d4a6c03cfcb6
419 if [ $HTTP_V3 = YES ]; then 419 if [ $HTTP_V3 = YES ]; then
420 have=NGX_HTTP_V3 . auto/have 420 have=NGX_HTTP_V3 . auto/have
421 have=NGX_HTTP_HEADERS . auto/have 421 have=NGX_HTTP_HEADERS . auto/have
422 HTTP_QUIC=YES 422 HTTP_QUIC=YES
423 423
424 # XXX for Huffman
425 HTTP_V2=YES
426
427 ngx_module_name=ngx_http_v3_module 424 ngx_module_name=ngx_http_v3_module
428 ngx_module_incs=src/http/v3 425 ngx_module_incs=src/http/v3
429 ngx_module_deps="src/http/v3/ngx_http_v3.h \ 426 ngx_module_deps="src/http/v3/ngx_http_v3.h \
430 src/http/v3/ngx_http_v3_encode.h \ 427 src/http/v3/ngx_http_v3_encode.h \
431 src/http/v3/ngx_http_v3_parse.h \ 428 src/http/v3/ngx_http_v3_parse.h \
438 src/http/v3/ngx_http_v3_streams.c \ 435 src/http/v3/ngx_http_v3_streams.c \
439 src/http/v3/ngx_http_v3_request.c \ 436 src/http/v3/ngx_http_v3_request.c \
440 src/http/v3/ngx_http_v3_module.c" 437 src/http/v3/ngx_http_v3_module.c"
441 ngx_module_libs= 438 ngx_module_libs=
442 ngx_module_link=$HTTP_V3 439 ngx_module_link=$HTTP_V3
440
441 if [ $HTTP_V2 = NO ]; then
442 ngx_module_srcs="$ngx_module_srcs \
443 src/http/v2/ngx_http_v2_huff_decode.c \
444 src/http/v2/ngx_http_v2_huff_encode.c"
445 fi
443 446
444 . auto/module 447 . auto/module
445 fi 448 fi
446 449
447 if [ $HTTP_V2 = YES ]; then 450 if [ $HTTP_V2 = YES ]; then