cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SIGTERM signal interrupt

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Thu, 11 Feb 2010 01:23:14 +0100

On Wednesday 10 of February 2010 23:13:48 Jason Corcoran wrote:
> Not really, while the library is C the app that is implementing it seems
> to be C++. So he can wrap the libCurl API calls in whatever C++ voodoo
> he wants to.

Not good idea at all to let the C++ exceptions leak through a library like
libcurl is. Please consider the rule #62 from [1].

> Now, weather or not he catches the correct exception is another issue
> all together.

Have you looked at the output of strace(1)?

Kamil

[1] http://www.gotw.ca/publications/c++cs.htm
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-02-11