Skip to content

ext_proc: Fix filter protocol configuration encoding with per-route config #39650

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 2 commits into from
May 28, 2025

Conversation

yanjunxiang-google
Copy link
Contributor

@yanjunxiang-google yanjunxiang-google commented May 27, 2025

If processing mode exists in per-router configuration, it overrides what's in the HTTP filter configuration.
The final processing mode configurations are stored in the filter decoding_state_ and encoding_state_. Encoding them when sending those modes to the ext_proc server.

This PR is a followup of #38755, which missed the per-route override part.

Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #39650 was opened by yanjunxiang-google.

see: more, trace.

@yanjunxiang-google yanjunxiang-google changed the title ext_proc: Support filter prococol configuration encoding for per-rout… ext_proc: Fix filter protocol configuration encoding with per-route config May 28, 2025
Signed-off-by: Yanjun Xiang <[email protected]>
@yanjunxiang-google
Copy link
Contributor Author

/assign @tyxia

@yanjunxiang-google yanjunxiang-google marked this pull request as ready for review May 28, 2025 14:35
Copy link
Member

@tyxia tyxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@tyxia tyxia merged commit ff60e2e into envoyproxy:main May 28, 2025
24 checks passed
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