moonchen commented on code in PR #13286:
URL: https://github.com/apache/trafficserver/pull/13286#discussion_r3444343917


##########
plugins/header_rewrite/statement.h:
##########
@@ -32,6 +32,13 @@
 #include "parser.h"
 #include "lulu.h"
 
+// Counters for the number of header_rewrite operators executed and conditions 
evaluated; the
+// bare hook invocation count cannot tell a small ruleset from a large one. 
Created once via
+// init_hrw_work_stats(); both are TS_ERROR until then, so increments are 
guarded.

Review Comment:
   You're right. It is serialized. The guard was to protect from the case where 
header_rewrite is loaded as both a remap plugin and a global plugin.



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