envoyproxy/envoy

Add error handling support to decompressors

オープン

#32,621 opened on 2024/02/28

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (5,373 件のフォーク)batch import
area/compressionhelp wanted

Repository metrics

Stars
 (27,997 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド