Skip to content
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

HTTP: add more control over buffering and/or offloading processing to the host #63

Open
PiotrSikora opened this issue Oct 9, 2024 · 2 comments
Milestone

Comments

@PiotrSikora
Copy link
Member

PiotrSikora commented Oct 9, 2024

Currently, we only support Continue and Pause actions, which is quite limiting.

Most notably, we require forwarding HTTP headers before processing HTTP body, which prevents building plugins that perform authorization based on contents of HTTP request body or completely consume requests and generate responses from within plugin (for which proxy_send_local_response is too limited).

Refs:

@jcchavezs
Copy link

Another use case is to decide whether buffer or not based on headers e.g. in Coraza WAF we only want to buffer and inspect body if certain content type.

@mpwarres
Copy link

mpwarres commented Dec 19, 2024

I put together a doc that consolidates information about this issue and evaluates options: Envoy Wasm / Proxy-Wasm support for FilterHeadersStatus::StopIteration

tl;dr is that I think we should define a v0.2.2 ABI minor revision that fixes this issue (only), decoupling this from other fixes targeted for the v0.3 ABI.

@PiotrSikora PiotrSikora added this to the v0.3.0 milestone Jan 9, 2025
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

No branches or pull requests

3 participants