Add error handling support to decompressors
Open
area/compression
help wanted
- Dominant language
- C++
- Stars
- 28.9k
- Forks
- 5.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 437
Description
*Title*: *Add Error Handling Support to Decompressors*
*Description*:
Our filter code utilizes Decompression extensions (Brotli and Zlib) to decode compressed data.
Currently, the decompression interface updates its internal statistics when decompression fails, but it does not provide any indication of error to the caller.
This feature request proposes that the decompress method either returns an error directly or that an API is added to retrieve the error from the last decompression call.
Reference: [GitHub - envoyproxy/envoy](https://github.com/envoyproxy/envoy/blob/main/envoy/compression/decompressor/decompressor.h#L21)
Contributor guide
Assessment
This issue has not been assessed yet.