cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl exception with bad url

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 22 Aug 2011 15:54:54 -0700

On Tue, Aug 23, 2011 at 12:08:55AM +0200, Daniel Stenberg wrote:
> On Mon, 22 Aug 2011, Robert Navarro wrote:
> >try
> >{
> >res = curl_easy_perform(curl);
> >}
> >catch (System::Exception* e) <--- catching this because I don't know
> >what else to catch, prevents service from stopping
>
> I have no idea how you'd get an exception from that function call!

Perhaps an exception was raised in one of the callbacks, since they can
use C++ features. The source code for the callbacks wasn't shown, so
it's hard to say.

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