shongkaikai commented on PR #12373:
URL: https://github.com/apache/trafficserver/pull/12373#issuecomment-3116267903

   > The code change does not seem related to the issue in the title (which I 
will link). Why does allowing an extra redirection cycle affect whether we 
cache the response to any of the other redirected requests? I don't think the 
number of redirections should affect caching whatsoever if the concerns are 
properly isolated.
   > 
   > How have you confirmed whether or not this patch resolves your issue?
   
   In the state_read_server_response_header(), When redirection_tries == 
t_state.txn_conf->number_of_redirections, enable_redirection is set to false, 
but it should be true at this point.
   
   enable_redirection == false will cause s->cache_info.action = 
CACHE_DO_NO_ACTION in HttpTransact::handle_forward_server_connection_open, 
which in turn leads to failure when adding a cache consumer in 
perform_cache_write_action.


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