You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Steven Shaw (JIRA)" <ji...@apache.org> on 2006/08/07 11:20:14 UTC

[jira] Created: (DIRMINA-240) VmPipeConnectors hands out non-unique AnonymousSocketAddresses

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

        

[jira] Updated: (DIRMINA-240) VmPipeConnectors hands out non-unique AnonymousSocketAddresses

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-240?page=all ]

Trustin Lee updated DIRMINA-240:
--------------------------------

        Fix Version/s: 0.8.3
                       0.9.5
    Affects Version/s: 0.9.4
                       0.9.3
                       0.9.2
                       0.9.1
                       0.9
                       0.8.2
                       0.8.1
                       0.8
                       0.7.4
                       0.7.3
                       0.7.2
                       0.7.1
                       0.7
             Assignee: Trustin Lee

> 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

        

[jira] Closed: (DIRMINA-240) VmPipeConnectors hands out non-unique AnonymousSocketAddresses

Posted by "Steven Shaw (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-240?page=all ]

Steven Shaw closed DIRMINA-240.
-------------------------------


Thanks

> 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

        

[jira] Resolved: (DIRMINA-240) VmPipeConnectors hands out non-unique AnonymousSocketAddresses

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ 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