[Twisted-Python] defer.AlreadyCalled error
Dmitry Litovchenko
kwaker at uch.net
Fri Mar 14 02:06:37 EST 2003
Hello, all
Using my handcrafted socks5 client I've got the situation where my
ClientFactory.clientConnectionLost and clientConnectionFailed get
execution after errback is already called, so I get
defer.AlreadyCalled error.
The fastest thing that solves it was try/except with raising error
again if its not AlreadyCalled.
Is this solution correct or I should inherit some another method of
ClientFactory or ClientProtocol to intercept this situation before its
AlreadyCalled.
--
Best regards,
Dmitry mailto:kwaker at uch.net
More information about the Twisted-Python
mailing list