cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] suggested SIGPIPE handling for libcurl

From: Ben Greear <greearb_at_candelatech.com>
Date: Tue, 12 Mar 2013 08:57:44 -0700

On 03/12/2013 12:43 AM, Daniel Stenberg wrote:
> On Mon, 11 Mar 2013, Ben Greear wrote:
>
>>> I've written a small patch that shows my suggested fix. It is two functions that should be called on libcurl-entry and libcurl-exit for all libcurl functions
>>
>> Maybe change SIGPIPE_IGNORE to CURL_SIGPIPE_IGNORE to make sure you don't chance upon some other header file defining that?
>
> Do you really think that's necessary? This is just an internal define within that source file, and I rather stick to shorter and thus more readable names...

Yeah, should be fine as is.

Thanks,
Ben

>

-- 
Ben Greear <greearb_at_candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-12