envoyproxy/envoy

Add error handling support to decompressors

Open

#32.621 geöffnet am 28. Feb. 2024

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
area/compressionhelp wanted

Repository-Metriken

Stars
 (27.997 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide