Subject: [PATCH] Re: timeouts in libssh2 blocking-mode

[PATCH] Re: timeouts in libssh2 blocking-mode

From: Daniel Stenberg <>
Date: Tue, 31 May 2011 23:51:40 +0200 (CEST)

On Tue, 31 May 2011, Daniel Stenberg wrote:

> It just struck me today when browsing this code (again) that your fix
> completely left out the majority of all users: those who use poll()...

Okay, I suggest a little massaging of the function like the attached patch to
make the timeout work the same way when libssh2 is built to use poll().

I'm interested in a review/feedback. If nobody finds anything upsetting I'll
push this in a day or two.



Received on 2011-05-31