cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: [Binary/ASCII FTP transfert] Is a bug or not ?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 30 Mar 2005 19:56:54 +0200 (CEST)

On Wed, 30 Mar 2005 delphine.menjikoff_at_orsyp.com wrote:

> After several checking, the problem was resolved by modified the libcurl:
>
> Force the usage of select() instead of poll() function in Curl_select()
> function from the lib/select.c source file.
>
> This modification resolved the problem of my "indefinitely downloading".

...

> With the select() function, the Linux client completed normally the transfer
> while with the poll() function, the transfer run indefinitely whereas the
> file is completely written.

What libc version are you using?

> I've read some threads about poll() and select() function (Patch: partial
> fix for bug #948950) and more...This is a bug or a default of the server
> and/or client side ?

To me, it looks like a bug in your poll(). I can't understand why you can't
use poll() on your Linux libcurl when so many others can!

--
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-03-30