cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: http download : error code 0 after download failure

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Mon, 4 Dec 2006 09:37:52 -0600

> The verbose says HTTP /1.1 404 error
> But curl easy perform returns me error code 0
> which means success, Why is this happening?

Try setting:
  curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1);
Received on 2006-12-04