summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_static.c
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@nginx.com>2023-08-24 14:09:18 +0200
committerAlejandro Colomar <alx@kernel.org>2023-10-25 13:38:42 +0200
commitd5906fc0a30d51bbd25f0b7026fba977962e6042 (patch)
tree9e8227c66645f416833cd6e0269b3f32f1379322 /src/nxt_http_static.c
parente357f665abad29dfdf94103d0ad82774d2ec3d14 (diff)
downloadunit-d5906fc0a30d51bbd25f0b7026fba977962e6042.tar.gz
unit-d5906fc0a30d51bbd25f0b7026fba977962e6042.tar.bz2
HTTP: compress: added configurable threshold for Content-Length.
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@nginx.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'src/nxt_http_static.c')
0 files changed, 0 insertions, 0 deletions