[
https://issues.apache.org/jira/browse/TS-4021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004713#comment-15004713
]
Peter Chou commented on TS-4021:
--------------------------------
Kit, thanks for volunteering to take a look at the proposed changes. I did
basic testing under Ubuntu Linux 32-bit for this change.
* First, we left "CONFIG proxy.config.http.redirection_enabled" out of
records.config so it stayed as default of 0 or disabled globally.
* Second, In remap.config, we added "map ... @plugin=tslua.so
@pparam=.../my.lua".
* Third, in my.lua we added --
function do_remap()
ts.http.enable_redirect(1)
return 0
end
> Lua Plugin - Expose API Call TSHttpTxnFollowRedirect()
> ------------------------------------------------------
>
> Key: TS-4021
> URL: https://issues.apache.org/jira/browse/TS-4021
> Project: Traffic Server
> Issue Type: New Feature
> Components: Lua, Plugins
> Affects Versions: 6.1.0
> Reporter: Jeremy Payne
> Assignee: Kit Chan
> Priority: Minor
> Fix For: 6.1.0
>
>
> Instead of relying on a config override, this plugin 'new feature' would
> allow for enabling origin server redirection on the fly; via a direct API
> call.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)