git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: cURL in git for windows does not support HTTP/2 anymore

From
LDLars Eriksen - DSV <lars.eriksen@dsv.com>
Date
Apr 25, 2025, 12:02 UTC
Message-ID
<GV1PR10MB7600CAC40B084DD3AA85FE119B842@GV1PR10MB7600.EURPRD10.PROD.OUTLOOK.COM>
In-Reply-To
<01fd2b48-dc9e-ec69-b4f9-1183beb7f8a8@gmx.de>
Hi Johannes

The curl found in Windows has the same problem, but I got the server team to install an independently built curl. This is what is allowed for us. It is a fair assumption that the one found within git is only intended to function with git commands, but it has worked well for us up until now. So you can ignore my request.

Sorry for the inconvenience.
On Fri, 25 Apr 2025, Lars Eriksen - DSV wrote:
Show 6 quoted lines
> I'm sorry for the confusion, but the problem is not within the git
> command itself. This works fine. But we use the distributed curl
> command for POSTing data in a custom script when we deploy to production.
>
> So the problem is with how the curl command is built for windows. It
> used to be built with HTTP/2 support, now it is not.
I am sorry, but Git for Windows is not really intended as a distribution model for the `curl.exe` command, it merely is shipped in Git for Windows because some scripts require it.
Have you tried using the `curl.exe` in `C:\Windows\system32`? If that does not work, you may need to switch to MSYS2 (which is a proper software distribution, not a hard-baked one like Git for Windows that includes bits and pieces necessary to run Git commands).

Ciao, Johannes

DSV internal
Previous: Johannes Schindelin
Message 5 of 5 in “cURL in git for windows does not support HTTP/2 anymore”
  1. Lars Eriksen - DSVApr 24, 2025
  2. Johannes SchindelinApr 24, 2025
  3. Lars Eriksen - DSVApr 25, 2025
  4. Johannes SchindelinApr 25, 2025
  5. Lars Eriksen - DSVApr 25, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.