[Twisted-Python] Twisted Conch SSH timeout
rayjohnterrill at gmail.com
Wed Feb 4 11:49:44 EST 2009
Could you give me an example of how handling the connectionLost() could be
accomplished? I'm not sure where I need to integrate that into what I've
On Mon, Feb 2, 2009 at 7:32 PM, Paul Swartz <paulswartz at gmail.com> wrote:
> On Mon, Feb 2, 2009 at 2:22 PM, ray terrill <rayjohnterrill at gmail.com>
> > I've got a Twisted Conch/SSH script that I inherited which I'm using to
> > commands remotely on some servers. I'd like to add a timeout for servers
> > that are down, etc (the script currently hangs on these), but I'm not
> > where to add that functionality.
> It's probably hanging because you're not handling connectionLost() in
> the Channel or the Transport. One of those should get called when the
> connection stops (including via TCP timeout).
> Paul Swartz
> paulswartz at gmail dot com
> AIM: z3penguin
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python