]> git.ipfire.org Git - thirdparty/haproxy.git/commit
IMPORT: slz: update slz to version 1.3.0
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 11 Aug 2026 15:42:49 +0000 (17:42 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Wed, 12 Aug 2026 07:14:07 +0000 (09:14 +0200)
commit44699731d206ba2d39f1ffd950cbc67ddf925dfe
treed70165fe887b805168c950571e366781cddf5b77
parent9bfd816639ad90be6c204f7d21b9fc3af6da24ed
IMPORT: slz: update slz to version 1.3.0

This version provides the uslz (u stands for uncompress) API that allows
to decompress zlib/gzip compatible streams (including the ones generated
by slz) using 32K sliding buffer. It is meant for users that care about
memory footprint, but if performance is the only priority, using zlib is
perfectly fine for this.

Credits to Andrew Church <achurch@achurch.org> for providing
https://achurch.org/tinflate.c aka tiny inflate library as public domain.
libslz decompression implementation was greatly inspired from tinflate
library by Andrew Church.

zdec utility was updated to leverage this new API in order to act as a
fully operationnal decompression tool instead of simply dumping basic
debug infos like it used to do.

Shortlog:

Aurelien DARRAGON (5):
        REORG: move generic internal function and helpers inside slz-prv.h file
        MAJOR: reorganize libslz to split compression API code from common API code
        MAJOR: slz: implement uncompress API (uslz)
        REORG: rename zdec utility to zdecode
        MINOR: add zdec decompression utility

This is libslz upstream commit 5a002417e1c3706c8cc835767e5f7b02c6ea5078
Makefile
include/import/slz-prv.h [new file with mode: 0644]
include/import/slz-tables.h
include/import/slz.h
src/slz.c
src/slz_common.c [new file with mode: 0644]
src/uslz.c [new file with mode: 0644]