Re: Problem accessing git.kernel.org with git v2.33 plus gitproxy
- From
Kirill A. Shutemov <kirill@shutemov.name>
- Date
- Aug 30, 2021, 22:42 UTC
- Message-ID
- <20210830224215.hay6rjbt3vk26nk5@box>
- In-Reply-To
- <YS1Bni+QuZBOgkUI@coredump.intra.peff.net>
On Mon, Aug 30, 2021 at 04:37:50PM -0400, Jeff King wrote:
Show 5 quoted lines
> I am sympathetic that this used to work, and now doesn't. But this proxy > case is affected by the problem that ae1a7eefff was solving. The root of > the issue is just that "socat" in its default form is not doing the > right thing. So I'd prefer not to try to make any change to Git's > behavior here.
As a kernel developer I learned hard way that breaking user experience by kernel changes considered a kernel regression, even if userspace "does it wrong"™. I'm not sure what standard of care for Git users is.
I'm fine adjusting the proxy script and make my colleagues aware about the issue, but the approach doesn't scale.
> But one option would be to limit it only to ssh, and not > git:// proxies (we already don't do that half-duplex shutdown for raw > TCP git://, for reasons discussed in that commit message).
I wounder if it's possible to detect the situation, warn the user that gitproxy has to be fixed and retry fetching pack without closing fd[1].
-- Kirill A. Shutemov