envoyproxy / envoyproxy/envoy

Add error handling support to decompressors

Open
#32,621 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.