cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Detail error information on error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Jan 2014 00:00:33 +0100 (CET)

On Tue, 21 Jan 2014, rkevinburton_at_charter.net wrote:

> It has to be different. When it is successful I read the response from the
> result of curl_exec like:

First you don't use libcurl directly you use a layer in between that may cause
something to differ. But more importantly, you can alter libcurl's behavior by
setting options and in particular I think of CURLOPT_FAILONERROR.

As you're not telling us any details: no code, no libcurl versions, no
platform info, nothing - there could probably be a bazillion other reasons for
what you see.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-01-22