cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Yet another libcurl Broken Pipe (Ubuntu 14)

From: Wagner Patriota <wagner.patriota_at_gmail.com>
Date: Mon, 12 May 2014 18:29:17 -0300

On Mon, May 12, 2014 at 6:01 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> 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...

Great Daniel! Thank you so much! I don't know why I did this... my
interpretation was the inverse!
I did not think about it because on OS X it's working good, so I assumed
the "pipe problems" were at least correctly implemented.
Thank you so much! :-)

>
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

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