[Twisted-web] Newbie question : client connection lost

Phil Mayers p.mayers at imperial.ac.uk
Tue May 11 07:54:40 EDT 2010


On 11/05/10 13:23, Sebastien PASTOR wrote:
> Thanks Phil,
>
> I managed to be notified when the connection is cleanly closed by the
> client (ie: browser is stop or close window).
> But i could not handle non-clean connection closure (ie: when wifi  goes
> down client side for instance). request.finish() does not event raise
> any error. ...
> I am a bit stuck here. .. any ideas ?

I'm not sure I follow.

Have a look at this to make sure you're using it properly:

http://jcalderone.livejournal.com/50890.html



More information about the Twisted-web mailing list