[
https://issues.apache.org/jira/browse/TS-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281008#comment-14281008
]
Kit Chan commented on TS-3290:
------------------------------
I also findand fix a bug with the functions that retrieve port number from
sockaddr_in
> Add functions for exposing origin server IP address info in lua plugin
> ----------------------------------------------------------------------
>
> Key: TS-3290
> URL: https://issues.apache.org/jira/browse/TS-3290
> Project: Traffic Server
> Issue Type: Improvement
> Components: Lua, Plugins
> Reporter: Kit Chan
> Assignee: Kit Chan
> Fix For: sometime
>
>
> We can provide something like this
> ts.server_request.server_addr.get_addr()
> similar to
> ts.client_request.client_addr.get_addr()
> mentioned here -
> https://docs.trafficserver.apache.org/en/latest/reference/plugins/ts_lua.en.html
>
> It should be using the ts api TSHttpTxnServerAddrGet() behind the scene.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)