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

Chuck Rolke commented on QPID-5854:
-----------------------------------

The description for this jira is assuming that the peer hostname is derived 
from the socket getName() in the same way that the mgmtId is generated. This 
need not be the case for the requested function. Any function that returns a 
string unique to the remote host will do.


> Qpid C++ broker Connection objects need to supply host and peer network 
> hostnames
> ---------------------------------------------------------------------------------
>
>                 Key: QPID-5854
>                 URL: https://issues.apache.org/jira/browse/QPID-5854
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.26
>         Environment: C++ any platform
>            Reporter: Chuck Rolke
>
> Acl code uses the connection's mgmtId as the source of the "peer hostname" 
> for connection counting purposes. This works for IPv4 and IPv6 sockets but 
> may fail with Unix sockets.
> This issue tracks adding methods to access the Connection's underlying socket 
> getName for the local and remote ends of the connection.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to