Skip to content
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions include/envoy/http/filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@ namespace Http {
enum class FilterHeadersStatus {
// Continue filter chain iteration.
Continue,
// Do not iterate to any of the remaining filters in the chain. Returning
// FilterDataStatus::Continue from decodeData()/encodeData() or calling
// Do not iterate for headers on any of the remaining filters in the chain.
//
// Returning FilterDataStatus::Continue from decodeData()/encodeData() or calling
// continueDecoding()/continueEncoding() MUST be called if continued filter iteration is desired.
//
// Note that if a local reply was sent, no further iteration for headers as well as data and
// trailers for the current filter and the filters following will happen. A local reply can be
// triggered via sendLocalReply() or encodeHeaders().
Comment thread
rgs1 marked this conversation as resolved.
StopIteration,
// Continue headers iteration to remaining filters, but delay ending the stream. This status MUST
// NOT be returned when end_stream is already set to false.
Expand Down