diff options
author | Alejandro Colomar <alx@nginx.com> | 2023-08-23 17:23:49 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-10-25 13:38:08 +0200 |
commit | 0569065aa583470b8dd2689f2aae53f57b74fe46 (patch) | |
tree | 9d7e9392d679ca9e8eb2fd54c9a372a2c5185120 /src/nxt_http_compress.h | |
parent | d05e2ab887602bb3f3f3020ba14f247f1dd18bef (diff) | |
download | unit-0569065aa583470b8dd2689f2aae53f57b74fe46.tar.gz unit-0569065aa583470b8dd2689f2aae53f57b74fe46.tar.bz2 |
HTTP: compress: added configurable "level" of compression.
Signed-off-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'src/nxt_http_compress.h')
-rw-r--r-- | src/nxt_http_compress.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_http_compress.h b/src/nxt_http_compress.h index 57bebd1c..19075025 100644 --- a/src/nxt_http_compress.h +++ b/src/nxt_http_compress.h @@ -9,6 +9,8 @@ #include "nxt_router.h" +#include <stdint.h> + #include "nxt_http.h" #include "nxt_main.h" #include "nxt_router.h" @@ -22,6 +24,8 @@ struct nxt_http_compress_conf_s { nxt_int_t (*handler)(nxt_task_t *task, nxt_http_request_t *r, nxt_http_compress_conf_t *conf); + + int8_t level; }; |