From: Daniel Stenberg Date: Tue, 22 Aug 2023 16:42:55 GMT Subject: Re: FYI: git issues with libcurl 8.0/1 HTTPS push Message-ID: <4q22785-1qr2-824o-806r-26srs4r8p34@unkk.fr> In-Reply-To: On Tue, 22 Aug 2023, Junio C Hamano wrote: > The following is admittedly a very blunt workaround to disable HTTP/2 for > the affected versions for any purpose, but I wonder if it is an acceptable > workaround. The remote-curl transport helper is used for both push and > fetch and I didn't find a good place to automatically force the protocol > version only for pushes. The downside with this approach is that you make it build-time. Since libcurl 8.2.x is binary compatible with the previous versions, users could easily upgrade to a newer libcurl without rebuilding git and then unnecessarily have the avoid-h2 code still used. The ideal approach would do the check in run-time to avoid that. Wether the problem is serious enough to actually warrant such a work-around in the first place, I really cannot say. -- / daniel.haxx.se