summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls_sni.py
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-10-10 17:06:36 +0100
committerAndrew Clayton <a.clayton@nginx.com>2025-04-21 15:48:12 +0100
commit4b86ad6d473f24b4ed8ad846a65e09376e064308 (patch)
tree2c3e5037dc3bbac43dd29fbf68eb38df2c6ef903 /test/test_tls_sni.py
parentadaecb6f9efcf435e09c57ecb095f8109d17a817 (diff)
downloadunit-4b86ad6d473f24b4ed8ad846a65e09376e064308.tar.gz
unit-4b86ad6d473f24b4ed8ad846a65e09376e064308.tar.bz2
http: Compress application responses
This adds initial support for compressing application responses. A couple of things to note 1) Compressed responses are sent 'chunked' as we don't know beforehand how large the compressed response will be. 2) We only compress responses where we know the Content-Length as we need to check with the 'min_length' config parameter. It's also currently how we track when we need to close the compression stream off. 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 'test/test_tls_sni.py')
0 files changed, 0 insertions, 0 deletions