You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org> on 2006/12/18 18:30:21 UTC

[jira] Created: (QPID-212) Calling close() on a connection or session, any pending receive() should retrun null

Calling close() on a connection or session, any pending receive() should retrun null
------------------------------------------------------------------------------------

                 Key: QPID-212
                 URL: http://issues.apache.org/jira/browse/QPID-212
             Project: Qpid
          Issue Type: Bug
            Reporter: Rob Godfrey


Currently the application will hang indefinitely on the blocking receive() call.  The spec says it should return null if the connection is closed

-- 
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] Assigned: (QPID-212) Calling close() on a connection or session, any pending receive() should retrun null

Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Godfrey reassigned QPID-212:
--------------------------------

    Assignee: Rob Godfrey

> Calling close() on a connection or session, any pending receive() should retrun null
> ------------------------------------------------------------------------------------
>
>                 Key: QPID-212
>                 URL: https://issues.apache.org/jira/browse/QPID-212
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Rob Godfrey
>         Assigned To: Rob Godfrey
>         Attachments: QPID-212.patch
>
>
> Currently the application will hang indefinitely on the blocking receive() call.  The spec says it should return null if the connection is closed

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-212) Calling close() on a connection or session, any pending receive() should retrun null

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie resolved QPID-212.
---------------------------------

    Resolution: Fixed

Revision: 488377
Author: rgreig
Date: 18:05:25, 18 December 2006
Message:
QPID-212 Patch supplied by Rob Godfrey


> Calling close() on a connection or session, any pending receive() should retrun null
> ------------------------------------------------------------------------------------
>
>                 Key: QPID-212
>                 URL: https://issues.apache.org/jira/browse/QPID-212
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Rob Godfrey
>         Attachments: QPID-212.patch
>
>
> Currently the application will hang indefinitely on the blocking receive() call.  The spec says it should return null if the connection is closed

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

        

[jira] Updated: (QPID-212) Calling close() on a connection or session, any pending receive() should retrun null

Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-212?page=all ]

Rob Godfrey updated QPID-212:
-----------------------------

    Attachment: QPID-212.patch

Use Thread.interrupt to interrupt the blocking poll/take.

Test case added

> Calling close() on a connection or session, any pending receive() should retrun null
> ------------------------------------------------------------------------------------
>
>                 Key: QPID-212
>                 URL: http://issues.apache.org/jira/browse/QPID-212
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Rob Godfrey
>         Attachments: QPID-212.patch
>
>
> Currently the application will hang indefinitely on the blocking receive() call.  The spec says it should return null if the connection is closed

-- 
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