Skip to content

Conversation

@zwoop
Copy link
Contributor

@zwoop zwoop commented Dec 10, 2025

This produces errors in the log output, but they are not considered load / reload failures. I.e. ATS will still startup as before. We should fix this in ATS v11.

Before this, configs like this would silently succeed, with the bad modifier ignored:

cond %{CLIENT-HEADER:X-Foo} ="foo" [BAD]

@zwoop zwoop added this to the 10.2.0 milestone Dec 10, 2025
@zwoop zwoop self-assigned this Dec 10, 2025
@zwoop zwoop added the header_rewrite header_rewrite plugin label Dec 10, 2025
@apache apache deleted a comment from zwoop Dec 10, 2025
Copy link
Contributor

@bneradt bneradt left a comment

Choose a reason for hiding this comment

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

The logic makes sense.

@zwoop zwoop changed the title Produce errors when bad mods are used HRW: Produce errors when bad mods are used Dec 10, 2025
@bryancall bryancall self-requested a review December 15, 2025 22:44
Copy link
Contributor

@bneradt bneradt left a comment

Choose a reason for hiding this comment

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

lgtm

@zwoop zwoop merged commit 855eb10 into apache:master Jan 5, 2026
15 checks passed
@zwoop zwoop deleted the HRWModsWarnings branch January 5, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

header_rewrite header_rewrite plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants