VibhorGupta1991 opened a new issue #8185:
URL: https://github.com/apache/trafficserver/issues/8185
Hi Team,
I have been facing a weird issue on my traffic server running on version:
9.0.2
My setup has lua enabled and I am transforming the response using the
following code
function modify_response(data,eos)
ts.debug("modifying response") //this never gets printed in the logs
return data,eos
end
function do_remap()
ts.hook(TS_LUA_RESPONSE_TRANSFORM, modify_response)
return 0
end
I recently enabled escalate plugin to proxy the request to a different
origin when the first origin returns a 5xx.
And the retry request on the second origin doesn't work until I comment the
hook mentioned above. I did a ts.debug inside the modify_response function but
I am not able to see this in logs as well. So I suspect its not executing the
function but stuck somewhere else.
Have been stuck with this for a while. Has anyone else ever faced this
issue?
Thank you!
--
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]