Skip to content

Add missing statuses to FilterHeadersStatus. #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2020
Merged

Add missing statuses to FilterHeadersStatus. #19

merged 1 commit into from
May 19, 2020

Conversation

gbrail
Copy link
Contributor

@gbrail gbrail commented May 18, 2020

This allows WASM proxies to return any of the statuses supported
by native Envoy filters.

Note that this change will break Envoy until two other PRs are committed to the two other repos -- these are coming soon.

Signed-off-by: Gregory Brail [email protected]

This allows WASM proxies to return any of the statuses supported
by native Envoy filters.

Signed-off-by: Gregory Brail <[email protected]>
@gbrail gbrail requested a review from jplevyak as a code owner May 18, 2020 20:15
gbrail added a commit to gbrail/envoy-wasm that referenced this pull request May 18, 2020
This requires the changes made to proxy-wasm-cpp-sdk
in proxy-wasm/proxy-wasm-cpp-sdk#19.

With this change, a WASM filter can return, say,
StopAllIterationAndWatermark. This is useful when a WASM filter
might want to call an external service and use the result to
change an HTTP header before continuing processing the body.

Signed-off-by: Gregory Brail <[email protected]>
@jplevyak jplevyak merged commit 96927d8 into proxy-wasm:master May 19, 2020
gbrail added a commit to gbrail/envoy-wasm that referenced this pull request May 20, 2020
This requires the changes made to proxy-wasm-cpp-sdk
in proxy-wasm/proxy-wasm-cpp-sdk#19.

With this change, a WASM filter can return, say,
StopAllIterationAndWatermark. This is useful when a WASM filter
might want to call an external service and use the result to
change an HTTP header before continuing processing the body.

Signed-off-by: Gregory Brail <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants