Skip to content

Commit 1ba7af9

Browse files
committed
feature: added ngx_http_zstd_static_module
1 parent 0b45416 commit 1ba7af9

9 files changed

+2643
-1
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.t linguist-language=Text

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,5 @@ modules.order
5050
Module.symvers
5151
Mkfile.old
5252
dkms.conf
53+
54+
t/servroot/*

config

+11-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ END
105105
# TODO we need more tries for the different OS port.
106106
fi
107107

108-
HTTP_ZSTD_SRCS="$ngx_addon_dir/ngx_http_zstd_filter_module.c"
108+
HTTP_ZSTD_SRCS="$ngx_addon_dir/src/ngx_http_zstd_filter_module.c"
109109

110110
ngx_module_type=HTTP_FILTER
111111
ngx_module_name=ngx_http_zstd_filter_module
@@ -131,3 +131,13 @@ HTTP_FILTER_MODULES=`echo $HTTP_FILTER_MODULES \
131131

132132
CFLAGS="$ngx_zstd_opt_I $CFLAGS"
133133
NGX_LD_OPT="$ngx_zstd_opt_L $NGX_LD_OPT"
134+
135+
# build the ngx_http_zstd_static_module
136+
HTTP_ZSTD_SRCS="$ngx_addon_dir/src/ngx_http_zstd_static_module.c"
137+
138+
ngx_module_type=HTTP
139+
ngx_module_name=ngx_http_zstd_static_module
140+
ngx_module_incs="$ngx_zstd_opt_I"
141+
ngx_module_srcs=$HTTP_ZSTD_SRCS
142+
143+
. auto/module
File renamed without changes.

0 commit comments

Comments
 (0)