txamqp-dev team mailing list archive
-
txamqp-dev team
-
Mailing list archive
-
Message #00018
Detecting failed connection setup
Hello, I've done some work on txamqp towards correctly detecting
failed connection setup. For example, the simple consumer and publisher
examples will both hang indefinitely if the connection is closed by the
server before authentication starts.
My approach is to add a failure mode to the TwistedEvent class in
txamqp.client. I also re-worked TwistedEvent so that the waiters do
not share deferreds.
The work is here:
https://code.launchpad.net/~dave-krondo/txamqp/patches
Let me know what you think.
dave
Follow ups