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 19:35:34 -0300

On Mon, May 12, 2014 at 6:29 PM, Wagner Patriota
<wagner.patriota_at_gmail.com>wrote:

> 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! :-)
>

Actually, it didn't work. Before I remove the line.
The bug ALWAYS happened! Now it happens "sometimes"... I can't understand
where else can be... I will try to isolate the problem... and then I send
it over.
thanks

> --
>>
>> / 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-13