Skip to content

Commit

Permalink
filters: map Kotlin enum to correct Envoy status (#1125)
Browse files Browse the repository at this point in the history
Description: Hardcoding these isn't ideal, but it works for now. Down the road, we should map dynamically at runtime.
Risk Level: Low
Testing: Local with app filters

Signed-off-by: Mike Schore <mike.schore@gmail.com>
Signed-off-by: JP Simard <jp@jpsim.com>
  • Loading branch information
goaway authored and jpsim committed Nov 29, 2022
1 parent c5572e4 commit caae36f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ sealed class FilterDataStatus<T : Headers>(
* This may be called by filters which must parse a larger block of the incoming data before
* continuing processing, and will handle their own buffering.
*/
class StopIterationNoBuffer<T : Headers> : FilterDataStatus<T>(2)
class StopIterationNoBuffer<T : Headers> : FilterDataStatus<T>(3)

/**
* Resume previously-stopped iteration, possibly forwarding headers if iteration was stopped
Expand Down

0 comments on commit caae36f

Please sign in to comment.