cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

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

Magnus Cederlöf wrote:
> On Jan 17, 2008 1:36 PM, Daniel Stenberg <daniel_at_haxx.se> 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.

Michal
Received on 2008-01-17