Subject: Re: [patch] use poll when available on blocking API

Re: [patch] use poll when available on blocking API

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 23 Mar 2010 19:37:30 +0100 (CET)

On Tue, 23 Mar 2010, Simon Josefsson wrote:

>> The attached patch uses poll inside _libssh2_wait_socket, and fixes
>> the issue for us.
>
> Thanks, I think the patch looks good. Objections from anyone else?

Looks fine to me. There's of course a missing piece for configure to do the
poll check - which reminds me that some systems have bad poll()
implementations that shouldn't be used so the configure check can't be too
simple.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-23