[ http://issues.apache.org/jira/browse/DIRMINA-240?page=all ]
Trustin Lee resolved DIRMINA-240.
---------------------------------
Resolution: Fixed
Checked in the fix. Please try the latest version from trunk, and close this
issue. Thank you for the patch!
> VmPipeConnectors hands out non-unique AnonymousSocketAddresses
> --------------------------------------------------------------
>
> Key: DIRMINA-240
> URL: http://issues.apache.org/jira/browse/DIRMINA-240
> Project: Directory MINA
> Issue Type: Bug
> Affects Versions: 0.7, 0.8, 0.9, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.8.1, 0.9.1,
> 0.8.2, 0.9.2, 0.9.3, 0.9.4
> Reporter: Steven Shaw
> Assigned To: Trustin Lee
> Fix For: 0.8.3, 0.9.5
>
> 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