VmPipeConnectors hands out non-unique AnonymousSocketAddresses
--------------------------------------------------------------

                 Key: DIRMINA-240
                 URL: http://issues.apache.org/jira/browse/DIRMINA-240
             Project: Directory MINA
          Issue Type: Bug
            Reporter: Steven Shaw
         Attachments: diff.out

I've been using the VmPipeConnector for "unit" testing and have come up against 
a problem. The the AnonymousSocketAddresses that are handed out are all the 
very same instance. Our code relies on each client-side socket being unique and 
providing a unique name via toString(). For an InetSocketAddress, the 
toString() returns ip-address/host and port. A patch is attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to