• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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