Re: Commit ae1a7eefff may have broken git behind a firewall
- From
Jeff King <peff@peff.net>
- Date
- Oct 12, 2021, 21:17 UTC
- Message-ID
- <YWX7cd5e5q84CDEv@coredump.intra.peff.net>
- In-Reply-To
- <CAMe9rOrononRUYK0HmW_tknApUV+ZJeDBwOYMa1Ax-VHXZmoJQ@mail.gmail.com>
On Tue, Oct 12, 2021 at 02:03:39PM -0700, H.J. Lu wrote:
Show 9 quoted lines
> https://github.com/git/git/commit/ae1a7eefff > > may have broken git behind a firewall: > > https://bugzilla.redhat.com/show_bug.cgi?id=2013288 > > I am behind a firewall and using gitproxy: > > exec socat - socks4:proxy-server-name:$1:$2
It's not the firewall; it's socat not handling half-duplex shutdown very well (though you are right that it is related to the commit you found; that's when Git started closing the write pipe when it's done writing).
More discussion in this thread:
https://lore.kernel.org/git/YS1Bni+QuZBOgkUI@coredump.intra.peff.net/
(the short answer is: use "socat -t 10").
-Peff