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

The current request header change detection doesn't work well with subrequest #66

Open
spacewander opened this issue Oct 24, 2022 · 0 comments

Comments

@spacewander
Copy link
Contributor

The current change detection only marks the current request, but not the main request if the current request is subrequest:

ngx_http_apisix_mark_request_header_set(ngx_http_request_t *r)

However, the headers_in field is shared between subrequest and the main request.

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

1 participant