Re: [PATCH 2/2] fetch: ignore SIGPIPE during network operation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 4, 2019, 01:11 UTC
- Message-ID
- <xmqqk1hfzbn1.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20190303165843.GB23755@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> ... But by dying immediately, we never actually > read the ERR packet and report its content to the user. This is a (racy) > problem on all platforms.
Yeah, I do not think of a good solution for it (nor I am not convinced that it is worth fixing, to be honest. The cable may get cut before we have a chance to see the ERR packet, or the other side may have died before producing one.
The fix obviously looks good. Thanks.