bneradt commented on PR #13426:
URL: https://github.com/apache/trafficserver/pull/13426#issuecomment-5110559675

   Adding TS_HTTP_POST_REMAP_HOOK only to Statement::initialize_hooks() does 
not affect derived operators that override initialize_hooks(). In particular, 
OperatorSetPluginCntl and OperatorSetStateFlag/Int8/Int16 each say they should 
be allowed everywhere, but their explicit hook lists omit the new hook. The 
session-state operators reuse those state classes, so they are affected too.
   
   As a result, a POST_REMAP_HOOK ruleset using set-plugin-cntl, set-state-*, 
or set-session-* is rejected during configuration parsing. Could these 
overrides add TS_HTTP_POST_REMAP_HOOK (or delegate to 
Statement::initialize_hooks()), with a configuration-level test covering one of 
these operators?


-- 
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