juanthropic opened a new pull request, #13426:
URL: https://github.com/apache/trafficserver/pull/13426

   header_rewrite could attach rulesets to most transaction hooks, but not
   the real post-remap hook. That left a gap for the global-plugin model:
   loaded from plugin.config, it had no hook in the window after remapping
   but before the origin request, so rules could not act on the remapped
   request the way a per-remap rule can via REMAP_PSEUDO_HOOK.
   
   This adds a POST_REMAP_HOOK hook condition and wires it end to end:
   
   - Recognize the `POST_REMAP_HOOK` keyword in the parser.
   - Handle the POST_REMAP event so rulesets run at that hook.
   - Gather the post-remap request headers for the hook.
   - Allow operators and conditions on the hook by default.
   
   Available to both global (plugin.config) and per-remap configurations.
   Covered by a parser unit test and an end-to-end autest that sets a header
   at POST_REMAP_HOOK and verifies it on the request forwarded to origin.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to