From: "David Härdeman" <david@hardeman.nu>
To: "Jeff King" <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: Issues with git clone over HTTP/2 and closed connections
Date: Sun, 24 Sep 2023 14:47:56 +0000 [thread overview]
Message-ID: <4454d8e1dab565118a316409d653844bbbfacfc7@hardeman.nu> (raw)
In-Reply-To: <20230924035022.GA1503477@coredump.intra.peff.net>
September 24, 2023 at 5:50 AM, "Jeff King" <peff@peff.net> wrote:
> On Sat, Sep 23, 2023 at 12:58:09PM +0000, David Härdeman wrote:
>> From what I understand, git should close the connection, try to open a
>> new one and resume the clone operation before erroring out (because
>> the GOAWAY message could mean anything).
>>
>> Is this a known bug and is it something that would need to be fixed in
>> libcurl or in git?
>>
>
> I don't think we've heard of such a problem before with Git. I don't
> know enough about GOAWAY to comment on the correct behavior, but this is
> almost certainly a curl issue, not a Git one. All of the connection
> handling, reuse, etc, is happening invisibly at the curl layer.
>
> It's probably worth poking around libcurl's issue tracker. This seems
> like it might be related:
>
> https://github.com/curl/curl/issues/11859
Yeah, looks very relevant. I'll keep an eye on that issue instead.
Thanks for the prompt feedback.
> And one final comment: 2000 is a lot of requests for one clone. That
> plus the error you are seeing from Git makes me think you're using the
> "dumb" http protocol (i.e., your webserver is not set up to run the
> server side of Git's smart protocol, so it is just serving files
> blindly).
Yeah, thanks for the advice...I've already sorted this out so that I'm not
affected, but I wanted to make sure that I posted the bug report before I
forgot all the details.
Cheers,
David
prev parent reply other threads:[~2023-09-24 14:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-23 12:58 Issues with git clone over HTTP/2 and closed connections David Härdeman
2023-09-24 3:50 ` Jeff King
2023-09-24 14:47 ` David Härdeman [this message]
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=4454d8e1dab565118a316409d653844bbbfacfc7@hardeman.nu \
--to=david@hardeman.nu \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/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