cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: timeout return value in Curl_poll, Curl_wait_ms

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 11 Aug 2014 15:18:59 +0200 (CEST)

On Tue, 29 Jul 2014, Peter Wang wrote:

> I think Curl_poll and perhaps Curl_wait_ms require the fix applied to
> Curl_socket_check in commits b61e8b8 and c771968.
>
> That is, when poll or select are interrupted and coincides with the timeout
> elapsing, the functions return -1 indicating an error instead of 0 for the
> timeout.

Thanks, merged!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-08-11