cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl exception with bad url

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 23 Aug 2011 08:46:33 +0200 (CEST)

On Mon, 22 Aug 2011, Robert Navarro wrote:

> For now we can pretend I do not use a try/catch, and the problem is that the
> service will stop (crash) after:
>
> res = curl_easy_perform(curl);

When people mix the words stop and crash to describe an error a little alarm
bell goes off in my head. (Mostly because what a 'crash' constitutes to people
seem to vary greatly and often mismatches with my own perception of what a
crash is.)

What exactly are you saying happens? If you add a printf() line below the call
to curl_easy_perform() that outputs 'res', what does it show?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-23