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

[PATCH] Re: timeouts in libssh2 blocking-mode

From: Daniel Stenberg <daniel_at_haxx.se>
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.

-- 
  / daniel.haxx.se


_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2011-05-31