envoyproxy/envoy

Add error handling support to decompressors

Open

#32.621 aperta il 28 feb 2024

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/compressionhelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

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

Guida contributor