[ 
https://issues.apache.org/jira/browse/TS-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750244#comment-13750244
 ] 

Leif Hedstrom commented on TS-2157:
-----------------------------------

In addition to this cleaning up things, it allows us to e.g. log both endpoints 
of a connection. For example, right now there's no information available to log 
the destination IP in the clients connection to the proxy server. With this 
change, this information would be saved and preserved in the HttpSM for the 
logging module to access even after the connection is closed. It would be 
available in the client_info->dst_addr.

We should also examine the APIs that work and manipulate these values, e.g. 
TSHttpSsnIncomingAddrGet() and TSHttpTxnIncomingAddrGet()  (maybe one can even 
be deprecated after this).

                
> Replace "add" with appropriate "src_addr" and "dst_addr" in 
> ConnectionAttributes
> --------------------------------------------------------------------------------
>
>                 Key: TS-2157
>                 URL: https://issues.apache.org/jira/browse/TS-2157
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Network
>            Reporter: Leif Hedstrom
>
> This would more clearly let us encapsulate the two endpoint's (IpEndpoint) 
> for each connection. In addition, we ought to be able to remove the "port" 
> member from ConnectionAttributes as well, and its convoluted and overloaded 
> semantics. The appropriate IpEndpoint (src_addr or dst_addr) would hold the 
> port information as necessary.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to