curl-library
RE: libcurl in JNI context
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 15 Jul 2005 08:47:11 +0200 (CEST)
Date: Fri, 15 Jul 2005 08:47:11 +0200 (CEST)
On Thu, 14 Jul 2005, Lai, Andy wrote:
> The signal handler for SIGPIPE is changed after the curl_easy_perform call
> to a default one, which happens to kill the process.
>
> I fixed it by saving the current signal handler before curl_easy_perform and
> then restore it after. The problem then went away.
Are you saying that curl_easy_perform() removed your signal handler or that
this is some kind of libcurl bug at least?
Are you using CURLOPT_NOSIGNAL ?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-07-15