diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2021-12-21 07:54:16 +0300 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2021-12-21 07:54:16 +0300 |
| commit | 363505e806feebb7ceb1f9edb0e3f75c1253384f (patch) | |
| tree | 96b09e11f52821d4e54fb33543abb0af443f042e /auto | |
| parent | b5d022e79756daf0ca2a5221a9e1dddb910d13da (diff) | |
| download | nginx-363505e806feebb7ceb1f9edb0e3f75c1253384f.tar.gz nginx-363505e806feebb7ceb1f9edb0e3f75c1253384f.tar.bz2 | |
Moved Huffman coding out of HTTP/2.
ngx_http_v2_huff_decode.c and ngx_http_v2_huff_encode.c are renamed
to ngx_http_huff_decode.c and ngx_http_huff_encode.c.
Diffstat (limited to 'auto')
| -rw-r--r-- | auto/modules | 7 | ||||
| -rw-r--r-- | auto/sources | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/auto/modules b/auto/modules index f5a459783..94867bfc0 100644 --- a/auto/modules +++ b/auto/modules @@ -102,6 +102,11 @@ if [ $HTTP = YES ]; then fi + if [ $HTTP_V2 = YES ]; then + HTTP_SRCS="$HTTP_SRCS $HTTP_HUFF_SRCS" + fi + + # the module order is important # ngx_http_static_module # ngx_http_gzip_static_module @@ -414,8 +419,6 @@ if [ $HTTP = YES ]; then ngx_module_srcs="src/http/v2/ngx_http_v2.c \ src/http/v2/ngx_http_v2_table.c \ src/http/v2/ngx_http_v2_encode.c \ - src/http/v2/ngx_http_v2_huff_decode.c \ - src/http/v2/ngx_http_v2_huff_encode.c \ src/http/v2/ngx_http_v2_module.c" ngx_module_libs= ngx_module_link=$HTTP_V2 diff --git a/auto/sources b/auto/sources index 3dad11132..156f7979e 100644 --- a/auto/sources +++ b/auto/sources @@ -255,3 +255,6 @@ NGX_WIN32_RC="src/os/win32/nginx.rc" HTTP_FILE_CACHE_SRCS=src/http/ngx_http_file_cache.c + +HTTP_HUFF_SRCS="src/http/ngx_http_huff_decode.c + src/http/ngx_http_huff_encode.c" |
