From: Jeff King <peff@peff.net>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Commit ae1a7eefff may have broken git behind a firewall
Date: Tue, 12 Oct 2021 17:17:37 -0400 [thread overview]
Message-ID: <YWX7cd5e5q84CDEv@coredump.intra.peff.net> (raw)
In-Reply-To: <CAMe9rOrononRUYK0HmW_tknApUV+ZJeDBwOYMa1Ax-VHXZmoJQ@mail.gmail.com>
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
next prev parent reply other threads:[~2021-10-12 21:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-12 21:03 Commit ae1a7eefff may have broken git behind a firewall H.J. Lu
2021-10-12 21:17 ` Jeff King [this message]
2021-10-12 21:41 ` H.J. Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YWX7cd5e5q84CDEv@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=hjl.tools@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).