[
https://issues.apache.org/jira/browse/QPID-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Ross closed QPID-1395.
-----------------------------
Resolution: Won't Fix
This bug concerns the now deprecated old client api (replaced by the messaging
api).
> Explicit close not safe after connection Closed exception
> ---------------------------------------------------------
>
> Key: QPID-1395
> URL: https://issues.apache.org/jira/browse/QPID-1395
> Project: Qpid
> Issue Type: Bug
> Components: Python Client
> Affects Versions: M3
> Environment: [jross@localhost ~]$ python -V
> Python 2.5.1
> [jross@localhost ~]$ uname -a
> Linux localhost.localdomain 2.6.25.14-69.fc8 #1 SMP Mon Aug 4 14:20:24 EDT
> 2008 i686 i686 i386 GNU/Linux
> [jross@localhost ~]$ cat /etc/redhat-release
> Fedora release 8 (Werewolf)
> Reporter: Justin Ross
>
> It's natural to write client code with:
> conn = Connection(sock)
> try:
> try:
> // session stuff
> catch Closed:
> // handle it
> finally:
> conn.close()
> ATM, his is not safe, because close blocks and can't be interrupted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]