• Home
Name Date Size #Lines LOC

..--

brotli/03-May-2024-12580

deflate/03-May-2024-11468

README.mdD03-May-2024798 1813

private-lib-roles-http-compression.hD03-May-20242.9 KiB8841

stream.cD03-May-20246.4 KiB227126

README.md

1HTTP compression
2----------------
3
4This directory contains generic compression transforms that can be applied to
5specifically HTTP content streams, after the header, be it h1 or h2.
6
7The compression transforms expose an "ops" type struct and a compressor name
8as used by `content-encoding`... the ops struct definition can be found in
9./private-lib-roles-http-compression.h.
10
11Because the compression transform depends on being able to send on its output
12before it can process new input, the transform adds a new kind of buflist
13`wsi->buflist_comp` that represents pre-compression transform data
14("input data" from the perspective of the compression transform) that was
15delivered to be processed but couldn't be accepted.
16
17Currently, zlib 'deflate' and brotli 'br' are supported on the server side.
18