diff options
| author | Vladimir Homutov <vl@nginx.com> | 2021-08-05 11:09:13 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2021-08-05 11:09:13 +0300 |
| commit | d895a831ae76d97999de777d9289e5e6e29c5741 (patch) | |
| tree | 0758aa4b3e8cab42c7d83bcc7f21d22b6adcbc6d /auto/modules | |
| parent | af83b3c32c26646f2b3bf1b8f097eb175f6b5bb5 (diff) | |
| download | nginx-d895a831ae76d97999de777d9289e5e6e29c5741.tar.gz nginx-d895a831ae76d97999de777d9289e5e6e29c5741.tar.bz2 | |
HTTP/3: got rid of HTTP/2 module dependency.
The Huffman encoder/decoder now can be built separately from HTTP/2 module.
Diffstat (limited to '')
| -rw-r--r-- | auto/modules | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/auto/modules b/auto/modules index d454466af..7430bfe6b 100644 --- a/auto/modules +++ b/auto/modules @@ -421,9 +421,6 @@ if [ $HTTP = YES ]; then 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 \ @@ -441,6 +438,12 @@ if [ $HTTP = YES ]; then ngx_module_libs= ngx_module_link=$HTTP_V3 + if [ $HTTP_V2 = NO ]; then + ngx_module_srcs="$ngx_module_srcs \ + src/http/v2/ngx_http_v2_huff_decode.c \ + src/http/v2/ngx_http_v2_huff_encode.c" + fi + . auto/module fi |
