Uri, This will generate the custom response page that I want. However, it seems that if I do this, the request headers are still forwarded to the origin. And further, if there is a body, the content length is sent causing the origin to wait for a body. Since the body is not sent the origin side seems to hang and eventually timeout waiting for the body. This timeout also overrides the custom error page I just set.
So, generating the custom error is not the issue, but rather preventing the transaction from being forwarded to the origin is the issue here. Cheers! -B -- Brian Rectanus On Fri, Jun 5, 2015 at 8:30 PM, Uri Shachar <ushac...@hotmail.com> wrote: > Hi Brian, > > You need to call TSHttpTxnErrorBodySet, hook on the SEND_RESPONSE_HDR > hookpoint and reenable the transaction. > When you get the SEND_RESPONSE_HDR event you can set the status/headers as > desired. > > Cheers, > Uri >