Skip to content

hrw4u: Fix u4wrh emitting HTTP-section operators into TXN_CLOSE#13204

Open
Clendenin wants to merge 1 commit into
apache:masterfrom
Clendenin:bugfix/u4wrh-txn-close
Open

hrw4u: Fix u4wrh emitting HTTP-section operators into TXN_CLOSE#13204
Clendenin wants to merge 1 commit into
apache:masterfrom
Clendenin:bugfix/u4wrh-txn-close

Conversation

@Clendenin
Copy link
Copy Markdown
Contributor

Summary

u4wrh bypassed section access validation when emitting statements, so operators
that declare sections=HTTP_SECTIONS could land inside a generated TXN_CLOSE
block. The output then failed re-parse in hrw4u.

This change validates the operator's declared sections at emit time and surfaces
a clear error when the originating HRW places it in an incompatible hook.

u4wrh bypassed section access validation when emitting statements, so
operators that declare sections=HTTP_SECTIONS could land inside a generated
TXN_CLOSE block. The output then failed re-parse in hrw4u. Validate the
operator's declared sections at emit time and surface a clear error when
the originating HRW places it in an incompatible hook.

Adds a dedicated OPERATOR_MAP reverse-fail fixture for the operator-level
path and documents the *.reverse.fail.* fixture naming convention.
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.

1 participant