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

   We face an issue that `http.current_active_client_connections` metrics keep 
increasing. After investigation with @cmcfarlen and @moonchen, we found 
`HttpSM` hangs on `state_cache_open_read` when it follows redirect and 
`HttpCacheSM::captive_action` was cancelled. Because 
`HttpCacheSM::state_cache_open_read` does nothing.
   
   
https://github.com/apache/trafficserver/blob/b1e9327069fde8207c2d5ed6178addc4e237498e/src/proxy/http/HttpCacheSM.cc#L106-L112
   
   To fix the issue, this PR does reset `captive_action.cancelled` and other 
counters of `HttpCacheSM` on following redirect.
   
   From our testing, this patch seems working, however, `captive_action` and 
`pending_action` related code seems pretty odd. They should be fixed.


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