fasthttp
fasthttp copied to clipboard
Add support for zstd (Zstandard) encoding
Hello, currently fasthttp supports gzip and brotli as encoding when serving compressed content. It also supports them for fasthttp.fs. It would be very beneficial to add support for zstd whicb provides faster decompression rates.
The library used by fashttp already supports zstd. Information here: https://github.com/klauspost/compress/tree/master/zstd#zstd
Tools like curl already support auto-decompression of zstd content since 2020: https://daniel.haxx.se/blog/2020/08/19/curl-7-72-0-more-compression/
@erikdubbelboer new here. can i pick this?
@v4rn yes please!
@v4rn You had any luck with this?
@gaby sorry, I had some competing priorities last couple of weeks, just started looking at this. Prioritizing it this week.
@v4rn Any luck? thanks!
@v4rn Any update on this?
@gaby Since I'm curious about the internal implementation of fiber, I'm going to start fasthttp from this issue, wish me luck!
@Max-Cheng Awesome, yeah main reason i opened this ticket is to eventually add support in Fiber.
@gaby zstd will be soon. I need more time to test corner cases https://github.com/valyala/fasthttp/pull/1700
@Max-Cheng Awesome! Looking forward
Fixed via https://github.com/valyala/fasthttp/pull/1701