curl-library
Re: Question on curl_easy_perform and HTTP 404 errors
From: Joe N. <jnardone_at_gmail.com>
Date: Wed, 23 Jul 2008 20:21:22 -0400
Date: Wed, 23 Jul 2008 20:21:22 -0400
> When I use curl_easy_perform to try to download a web page
> that doesn't exist, the method returns 0.
>
> Is curl_easy_perform supposed to return an error code other
> than zero in this case?
>
Only if CURLOPT_FAILONERROR is set. See:
http://curl.haxx.se/libcurl/c/libcurl-errors.html
Joe
Received on 2008-07-24