From: Patrick Steinhardt <ps@pks.im>
To: Justin Tobler <jltobler@gmail.com>
Cc: Toon Claes <toon@iotcl.com>, git@vger.kernel.org
Subject: Re: [PATCH] bundle-uri: drain remaining response on invalid bundle-uri lines
Date: Fri, 10 Apr 2026 08:31:40 +0200 [thread overview]
Message-ID: <adiZTBH_70nrpiHe@pks.im> (raw)
In-Reply-To: <adZ6yyGsoyjm7t0Q@denethor>
On Wed, Apr 08, 2026 at 12:49:48PM -0500, Justin Tobler wrote:
> On 26/04/08 10:58AM, Toon Claes wrote:
> > Because bundle-URIs are optional by design, I believe the changes in
> > this series are sufficient. Also, the series [2] takes a similar
> > approach: have the client gracefully continue in case of misconfigured
> > bundles.
>
> I'm still largely of the opinion that a server-side fix should be
> implemented first. Unless we really don't care that a server may
> advertise invalid bundle-uri info to a client, making the client ignore
> the error doesn't address the root of the problem. I don't see a good
> reason why we would want servers to keep doing this anyways.
>
> To be clear, I'm not against also making the client more resilient since
> a "fixed" client may still try to talk to an older server that still
> misbehaves though.
I think that addressing the client-side is a good first step, as we need
to also be mindful that Git is not the only implementation used on the
server side. So even if we fixed Git itself to not report garbage bundle
URIs, other servers still very much might. So ensuring that clients can
handle these gracefully is a good thing to do.
That being said, I also think that we should fix the server side.
Whether that needs to be part of this patch series though is a different
question. Based on the proposed patch you posted it seems to be trivial
enough though, so maybe it's worth it to just add that in as a second
patch.
Patrick
next prev parent reply other threads:[~2026-04-10 6:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-08 8:58 [PATCH] bundle-uri: drain remaining response on invalid bundle-uri lines Toon Claes
2026-04-08 10:04 ` Patrick Steinhardt
2026-04-08 17:49 ` Justin Tobler
2026-04-10 6:31 ` Patrick Steinhardt [this message]
2026-04-10 15:38 ` Justin Tobler
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=adiZTBH_70nrpiHe@pks.im \
--to=ps@pks.im \
--cc=git@vger.kernel.org \
--cc=jltobler@gmail.com \
--cc=toon@iotcl.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