bryancall commented on issue #9704:
URL: https://github.com/apache/trafficserver/issues/9704#issuecomment-4828019267

   On an internal redirect (driven by 
proxy.config.http.number_of_redirections), the redirected request produces no 
response body to transform, so a response transform hook that is registered 
unconditionally hits the assertion in HttpSM::do_transform_open(). As 
shukitchan noted above, the fix is on the plugin side: register the response 
transform conditionally, for example from a read-response-header hook only when 
the origin returns a 200 response, rather than on every response. This is the 
same approach taken for the built-in gzip and brotli transforms in 
https://github.com/apache/trafficserver/pull/2928 (first released in 7.1.2), 
which restricted those transforms to 200 OK responses. Since the question was 
answered, no reproduction pointing at an ATS-side defect was provided, and the 
issue has gone stale, I am closing it. Please reopen with a minimal 
reproduction if you believe Traffic Server itself is at fault.


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