]> git.ipfire.org Git - thirdparty/curl.git/commit
content_encoding: put the decomp buffers into the writer structs 16079/head
authorDaniel Stenberg <daniel@haxx.se>
Fri, 24 Jan 2025 12:19:30 +0000 (13:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 24 Jan 2025 13:04:23 +0000 (14:04 +0100)
commit5426cd594853aafbcf8e8efe5199f4c62de861e7
tree2237025495156fe4bd8f45abc14e455c8ee6cae0
parent76f83f0db23846e254d940ec7fe141010077eb88
content_encoding: put the decomp buffers into the writer structs

- no more malloc/free per chunk
- removes the extra malloc entirely
- make the buffer (much) smaller (10MB => 16KB!)
- rename 'decomp' to 'buffer' to clarify purpose

Closes #16079
lib/content_encoding.c