cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Yet another libcurl Broken Pipe (Ubuntu 14)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 12 May 2014 23:01:12 +0200 (CEST)

On Mon, 12 May 2014, Daniel Stenberg wrote:

> I suspected SIGPIPE but you're using 7.36.0 that I believe will ignore
> SIGPIPE correctly for this case.

Uh, wrong of me:

> curl_easy_setopt( curl, CURLOPT_NOSIGNAL, 1 );

... prevents libcurl from handling any signals and it won't ignore the signal.
If you remove that option I bet a small amount of money everything works
fine...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-12