Open dio opened 4 years ago
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.
Context: Some of the filters, e.g. gRPC Web requires to skip encoding trailers due to https://github.com/envoyproxy/envoy/issues/10514.
i.e. currently, we have the following "problematic" response frames.
What we want is something like:
We have the current data frames since we always encode trailers. The proposed solution will be to have control from the filter side.
A couple of options:
FilterTrailersStatus
, to indicate that trailers should not be emitted.end_stream
flags toaddEncodedData
, end stream there andencodeTrailers
returnStopIteration
From the discussion here, the second of the options above is preferable and when doing that we should do a parallel fix in
addDecodedData
too.