On Mon, 22 Aug 2011, Robert Navarro wrote:
when the system receiving messages at that URL is down or not responding, I
get an exception instead of a timeout return.
That sounds unlikely. libcurl is a C library and it can't generate exceptions.
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!
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html