curl-library
Re: Problem with curl_multi C API
Date: Mon, 22 Mar 2010 09:40:17 +0100
Hello,
Thanks for your answer.
Le 18 mars 10 à 17:58, Daniel Stenberg a écrit :
> 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 ?
>
No, I'm saying that i'm using some wrong URL that will return 404 and
other tool get 404 with these urls.
But in the multi handle, I'm using URLs return 404 and URLs return 200.
When one of these URLs return 404, URLs that would return 200 give a
wrong png file.
> 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.
>
I hope you understand my problem.
Thanks for your help.
Etienne
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-22