summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_compress.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-12-19HTTP: compress: checking $header_accept_encoding.Alejandro Colomar1-0/+33
Signed-off-by: Alejandro Colomar <alx@nginx.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2023-12-19HTTP: compress: added "mime_types" rule.Alejandro Colomar1-2/+35
Signed-off-by: Alejandro Colomar <alx@nginx.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2023-12-19HTTP: compress: added configurable threshold for Content-Length.Alejandro Colomar1-0/+34
With this, short responses, that is, responses with a body of up to content_length_threshold bytes, won't be compressed. The default value is 20, as in NGINX. Signed-off-by: Alejandro Colomar <alx@kernel.org>
2023-10-25Auto: zlib: added --no-zlib.Alejandro Colomar1-1/+1
Related to: HTTP: compress: gzip Signed-off-by: Alejandro Colomar <alx@nginx.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2023-10-25HTTP: compress: added configurable "level" of compression.Alejandro Colomar1-0/+10
Signed-off-by: Alejandro Colomar <alx@nginx.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2023-10-25HTTP: compress: added "encoding": "gzip".Alejandro Colomar1-1/+3
Signed-off-by: Alejandro Colomar <alx@nginx.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
2023-10-25HTTP: compress: added "compress" action.Alejandro Colomar1-0/+88
There are still no supported encodings. This is just infrastructure for the next commits, which will add gzip compression. Signed-off-by: Alejandro Colomar <alx@nginx.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>