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 · 1 comment

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.

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

2 participants