cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with curl_multi C API

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 18 Mar 2010 17:58:04 +0100 (CET)

On Thu, 18 Mar 2010, Etienne Bougoin wrote:

> My problem is when one or more request return 404 error

Are you saying that you're using the correct URL and all, but somehow you get
a 404 while other tools/libraries get a 200 ?

That sounds like a server-side issue.

> the other request doen't work and images are not downloaded correctly.

That sounds like you're doing something wrong. Like using windows and not
opening files binary when you save them.

> /* set a suitable timeout to play around with */
> timeout.tv_sec = 0;
> timeout.tv_usec = 1;

curl_multi_timeout() is a lot better.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-18