summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_compression.h
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-10-10 17:06:36 +0100
committerAndrew Clayton <a.clayton@nginx.com>2024-12-04 20:52:45 +0000
commit78d32c33895e500bf8f23f464e95a4609b4d3925 (patch)
treebad1f9f5449a9703505a71f2c17c9a501c40295d /src/nxt_http_compression.h
parentab666231170edfe2eaeafe568b933c5150f58db0 (diff)
downloadunit-compr.tar.gz
unit-compr.tar.bz2
http: Compress application responsescompr
Co-authored-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/nxt_http_compression.h')
-rw-r--r--src/nxt_http_compression.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_http_compression.h b/src/nxt_http_compression.h
index 9dad11da..23017bf5 100644
--- a/src/nxt_http_compression.h
+++ b/src/nxt_http_compression.h
@@ -91,6 +91,7 @@ extern const nxt_http_comp_operations_t nxt_comp_brotli_ops;
#endif
+extern nxt_int_t nxt_http_comp_compress_app_response(nxt_http_request_t *r);
extern nxt_int_t nxt_http_comp_compress_static_response(nxt_task_t *task,
nxt_file_t **f, nxt_file_info_t *fi, size_t static_buf_len,
size_t *out_total);