Add content-encoding compression support (just gzip and deflate).
authorclaudio <claudio@openbsd.org>
Mon, 12 Jun 2023 14:56:38 +0000 (14:56 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 12 Jun 2023 14:56:38 +0000 (14:56 +0000)
commit78bab303fa6b62877fa23e78559884ff5e3274b2
tree453d55d2dfef3dccd55c17a72a31daa5bfec5d5f
parent65117b4ceddac4c780dcce8511b1d34b6f9f311e
Add content-encoding compression support (just gzip and deflate).
This will allow servers to send compressed XML which saves around 50%.
The uncompressed output is limited to MAX_CONTENTLEN bytes so the
impact of decompression bombs is limited.
With and OK job@ tb@
usr.sbin/rpki-client/Makefile
usr.sbin/rpki-client/http.c