diff options
| author | Alejandro Colomar <alx@nginx.com> | 2023-08-23 17:23:49 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@nginx.com> | 2023-09-04 03:40:32 +0200 |
| commit | 7ecdc3d190e449f04ac69d62f437399851035028 (patch) | |
| tree | 8294f5d8c857ddd5b442240d365799b8b3730bba /src/nxt_http_compress.h | |
| parent | 00801288b07d9d7c9557667b8020bab61375ca1c (diff) | |
| download | unit-7ecdc3d190e449f04ac69d62f437399851035028.tar.gz unit-7ecdc3d190e449f04ac69d62f437399851035028.tar.bz2 | |
HTTP: compress: added configurable "level" of compression.
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; }; |
