Gzip Decompressor

This extension may be referenced by the qualified name envoy.compression.gzip.decompressor

Note

This extension is intended to be robust against untrusted downstream traffic. It assumes that the upstream is trusted.

Tip

This extension extends and can be used with the following extension category:

extensions.compression.gzip.decompressor.v3.Gzip

[extensions.compression.gzip.decompressor.v3.Gzip proto]

{
  "window_bits": "{...}",
  "chunk_size": "{...}"
}
window_bits

(UInt32Value) Value from 9 to 15 that represents the base two logarithmic of the decompressor’s window size. The decompression window size needs to be equal or larger than the compression window size. The default window size is 15. This is so that the decompressor can decompress a response compressed by a compressor with any compression window size. For more details about this parameter, please refer to zlib manual > inflateInit2.

chunk_size

(UInt32Value) Value for zlib’s decompressor output buffer. If not set, defaults to 4096. See https://www.zlib.net/manual.html for more details.