Copilot commented on code in PR #14045:
URL: https://github.com/apache/trafficserver/pull/14045#discussion_r4534512225


##########
doc/developer-guide/cripts/cripts-connections.en.rst:
##########
@@ -67,7 +67,7 @@ connections. These are:
 Method                    Description
 =======================   
=========================================================================
 ``Count()``               The number of transactions processed on the 
connection so far.
-``IP()``                  The IP address of the connection.
+``IP()``                  The IP address of the peer.

Review Comment:
   Calling this the peer address contradicts the new client behavior: with 
`pp-clnt`, `Client::Connection::IP()` returns the PROXY source, while 
`Socket()` still identifies the TCP peer. Please document that distinction here 
so scripts using these methods for access control do not mistake the reported 
client for the directly connected peer; the server connection still returns its 
peer address.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to