A simpler approach may be to just turn off redirection in Read Response Header call back (on_read_response_header)?
TSHttpTxnFollowRedirect(txn, 0) - Sudheer > On Oct 5, 2017, at 12:52 PM, Jeremy Payne <[email protected]> wrote: > > Due to the sensitive nature of live streaming I can't afford to spend > extra cycles waiting for the origin to send the final non-3xx > response. > So any other thoughts? > How about another core control/parameter that says 'follow internal > redirect' and another control to follow upstream/orogin redirects? > Although, I see in 8.x that the origin redirect parameter has been > removed from records.config. Still may be set through an API > call, however I havent looked yet..
