commit | e437c44483028cc4a06bb99691a717196b5c037b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Mar 17 18:02:46 2010 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 17 18:02:46 2010 +0100 |
tree | ac566ea9cd50eb2fda8b4502657ef105a39e90b4 | |
parent | bf3f1de5b58aa77c2a3da4e143d5a7b2f1056b53 [diff] |
[BUG] init: unconditionally catch SIGPIPE Apparently some systems define MSG_NOSIGNAL but do not necessarily check it (or maybe binaries are built somewhere and used on older versions). There were reports of very recent FreeBSD setups causing SIGPIPEs, while older ones catch the signal. Recent FreeBSD manpages indeed define MSG_NOSIGNAL. So let's now unconditionnaly catch the signal. It's useless not to do it for the rare cases where it's not needed (linux 2.4 and below).