Re: [PATCH] unblock and unignore SIGPIPE
- From
Patrick Reynolds <patrick.reynolds@github.com>
- Date
- Aug 22, 2014, 05:40 UTC
- Message-ID
- <CAJrMUs_P25m68F_Rv4beSUiGB0uybbP=hBGULzZaefiW4gh=XQ@mail.gmail.com>
- In-Reply-To
- <20140818011445.GA22180@dcvr.yhbt.net>
On Sun, Aug 17, 2014 at 8:14 PM, Eric Wong <normalperson@yhbt.net> wrote:
> But unicorn would ignore SIGPIPE it if Ruby did not; relying on SIGPIPE > while doing any multiplexed I/O doesn't work well.
Exactly. Callers block SIGPIPE for their own legitimate reasons, but they don't consistently unblock it before spawning a git subprocess that needs the default SIGPIPE behavior. Easier to fix it in git than in every potential caller.
--Patrick