[Twisted-Python] Re: [Twisted-commits] r16103 - Make loopbackTCP and loopbackUNIX return Deferreds

Jean-Paul Calderone exarkun at divmod.com
Tue Feb 28 16:00:24 EST 2006


On Wed, 1 Mar 2006 07:42:05 +1100, Jonathan Lange <jml at mumak.net> wrote:
>On 3/1/06, Jean-Paul Calderone <exarkun at divmod.com> wrote:
> [snip]
>>
>> This now has a race, where the Deferred may fire before the server protocol is notified that the connection has been lost.
>
>Awesome, I wondered what that other thing was for.
>
>How do I get a Deferred to fire when a transport is disconnected?

Probably with a protocol wrapper.

Jean-Paul




More information about the Twisted-Python mailing list