git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Commit ae1a7eefff may have broken git behind a firewall

From
HLH.J. Lu <hjl.tools@gmail.com>
Date
Oct 12, 2021, 21:41 UTC
Message-ID
<CAMe9rOqQxk3cfxvJiJQRoG5=KVn2SkPbZKVa+w4MZP56OA-Z1g@mail.gmail.com>
In-Reply-To
<YWX7cd5e5q84CDEv@coredump.intra.peff.net>
On Tue, Oct 12, 2021 at 2:17 PM Jeff King <peff@peff.net> wrote:
Show 24 quoted lines
>
> On Tue, Oct 12, 2021 at 02:03:39PM -0700, H.J. Lu wrote:
>
> > 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
Yes, "socat -t 10" works.
Thanks.
-- 
H.J.
Previous: Jeff King
Message 3 of 3 in “Commit ae1a7eefff may have broken git behind a firewall”
  1. H.J. LuOct 12, 2021
  2. Jeff KingOct 12, 2021
  3. H.J. LuOct 12, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.