[
https://issues.apache.org/jira/browse/TS-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436893#comment-15436893
]
Leif Hedstrom commented on TS-4724:
-----------------------------------
This is already marked as back port for 6.2.1, so closing it (that's the right
process).
However, we generally do not back port new features to previous LTS releases.
These releases are intended for stability, with critical fixes, security fixes
etc. only.
But, it's up to the RM (Phil Sorber) in this case to make that decision. We ask
people to roll forward if they need new features, or, cherry-pick their own
tree.
> Adding/creating new lua APIs: "ts.server_request.set_url_host",
> "ts.server_request.get_url_host", "ts.server_request.set_url_scheme", and
> "ts.server_request.get_url_scheme "
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TS-4724
> URL: https://issues.apache.org/jira/browse/TS-4724
> Project: Traffic Server
> Issue Type: Improvement
> Components: Lua
> Reporter: Rajendra Kishore Bonumahanti
> Fix For: 7.0.0
>
> Time Spent: 4h 20m
> Remaining Estimate: 0h
>
> Create new lua APIs "ts.server_request.set_url_host",
> "ts.server_request.get_url_host", "ts.server_request.set_url_scheme", and
> "ts.server_request.get_url_scheme " to Set/Get scheme and host name in the
> server request to next tier.
> These APIs are useful to remove scheme and host name in the request to
> parent, which help to have a parent remap.config entry similar to child
> cache. This makes provisioning more meaningful and easy at both parent and
> child.
> With this fix, the GET request to parent will change..
> from:
> +++++++++ Proxy's Request +++++++++
> -- State Machine Id: 5593
> GET http://origin.com/dir1/a.txt HTTP/1.1^M
> User-Agent: curl/7.29.0^M
> Host: abc.com^M
> Accept: */*^M
> Client-ip: 135.xx.xx.xx^M
> X-Forwarded-For: 135.xx.xx.xx^M
> To:
> +++++++++ Proxy's Request +++++++++
> -- State Machine Id: 5593
> GET /dir1/a.txt HTTP/1.1^M
> User-Agent: curl/7.29.0^M
> Host: abc.com^M
> Accept: */*^M
> Client-ip: 135.xx.xx.xx^M
> X-Forwarded-For: 135.xx.xx.xx^M
> This will enable to have parent and child's remap.config entries as below:
> map http://abc.com http://origin.com @plugin=tslua.so
> @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)