cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl/openssl crashes when remote site partially goes down

From: Michal Marek <>
Date: Thu, 17 Jan 2008 14:12:13 +0100

Magnus Cederlöf wrote:
> On Jan 17, 2008 1:36 PM, Daniel Stenberg <> wrote:
>> libcurl returns, that's not a crash...
> Well, I would at least expect that it would return with an error code and
> not just stop executing the program in the middle of a routine. If this
> routine is incorporated in a larger application it means that everything
> running in that process will stop. It would be good to have a way to catch
> the error.

Is it indeed libcurl that makes an exit()? Can you run your app in a
debugger to see where it really exits? I doubt it's inside libcurl.

Received on 2008-01-17