Subject: Re: timeouts in libssh2 blocking-mode

Re: timeouts in libssh2 blocking-mode

From: Peter Stuge <>
Date: Mon, 2 May 2011 08:33:35 +0200

Matt Lilley wrote:
> badly behaved ssh servers can cause lockups inside libssh2
> I've attached an updated patch against the tip of the master git
> repository which preserves the recently added keepalive support,
> while ensuring in the end we don't block forever.


> Since I'm new to the mailing list, I may have missed recent
> discussion,

No discussion.

> but the bug hasn't really moved in a year, so I thought it might be
> worth reinvorigating debate - comments very welcome.

I'm happy to commit this. I would like to touch up the commit message
slightly however. In particular it should include some variation of
"fixes #160" so that the ticket gets closed.

Received on 2011-05-02