-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
Description
Title: compression doesn't work with an HTTP/2 backend
Description:
If I understand existing code correctly then compression won't be applied to streaming responses returned by an HTTP/2-capable backend:
envoy/source/extensions/filters/http/common/compressor/compressor.cc
Lines 396 to 397 in ca6e246
| return StringUtil::caseFindToken(headers.getTransferEncodingValue(), ",", | |
| Http::Headers::get().TransferEncodingValues.Chunked); |
Repro steps:
Enable h2 to the backend, enable compressor, use streaming-capable upstream.
cc: @rojkov
Reactions are currently unavailable