[
https://issues.apache.org/jira/browse/TS-4021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004702#comment-15004702
]
ASF GitHub Bot commented on TS-4021:
------------------------------------
GitHub user pbchou opened a pull request:
https://github.com/apache/trafficserver/pull/335
For TS-4021, added ts.http.enable_redirect() to the Lua API.
This calls the TSHttpTxnFollowRedirect() API function.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pbchou/trafficserver ts4021
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/335.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #335
----
commit 75cd7804b6092cb3717151645eb3a45de6d085ee
Author: pbchou <[email protected]>
Date: 2015-11-13T20:51:42Z
For TS-4021, added ts.http.enable_redirect() to the Lua API.
This calls the TSHttpTxnFollowRedirect() API function.
----
> 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)