maskit commented on code in PR #9518:
URL: https://github.com/apache/trafficserver/pull/9518#discussion_r1154804271


##########
proxy/http/HttpTransact.cc:
##########
@@ -5723,9 +5723,13 @@ 
HttpTransact::initialize_state_variables_from_request(State *s, HTTPHdr *obsolet
     s->cache_info.action = CACHE_DO_NO_ACTION;
   }
 
+  bool do_increment_stat = (0 == s->method);
+
   s->method = incoming_request->method_get_wksidx();
 
-  if (s->method == HTTP_WKSIDX_GET) {
+  if (!do_increment_stat) {

Review Comment:
   Name the PR accordingly. Who expects behavior change from the current title.



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