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

Re: minimum curl version effectively changed

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Oct 10, 2024, 21:23 UTC
Message-ID
<ZwhF0OZ2gpLWUfHD@tapette.crustytoothpaste.net>
In-Reply-To
<CAOO-Oz0NUA-YeyFT1MJ=XKyLWJvQoFH1b-F0EFOzvy8iWka3KA@mail.gmail.com>
On 2024-10-10 at 18:24:52, Alejandro R. Sedeño wrote:
Show 17 quoted lines
> As of ad9bb6dfe6e598d87ffe6e2285b4b86dac3bc726, http.c depends on
> symbols introduced curl 7.37.0, which is newer than the documented
> minimum version of 7.21.3 in INSTALL.
> 
> ```
> In file included from /usr/include/curl/curl.h:2238:0,
>                  from git-curl-compat.h:3,
>                  from http.c:4:
> http.c: In function ‘set_proxyauth_name_password’:
> http.c:655:28: error: ‘CURLOPT_PROXYHEADER’ undeclared (first use in
> this function)
>    curl_easy_setopt(result, CURLOPT_PROXYHEADER,
>                             ^
> http.c:655:28: note: each undeclared identifier is reported only once
> for each function it appears in
> make: *** [http.o] Error 1
> ```

From the curl changelog, I do agree that that feature was added in 7.37.0. I think that's okay, since that was released in May 2014, over a decade ago, so we probably need to update INSTALL appropriately. I don't think any major Linux distros are still offering complementary security support for such an old version of libcurl, so I don't see us restoring support for older libcurl.

It will probably also involve ripping out appropriate parts of `git-curl-compat.h` and the option flags. If nobody else gets to it over the next couple of days, I'll try to, but of course anyone is free to send in a patch.

-- 
brian m. carlson (they/them or he/him)
Toronto, Ontario, CA
Previous: Alejandro R. SedeñoNext: Alejandro R. Sedeño
Message 2 of 4 in “minimum curl version effectively changed”
  1. Alejandro R. SedeñoOct 10, 2024
  2. brian m. carlsonOct 10, 2024
  3. Alejandro R. SedeñoOct 10, 2024
  4. brian m. carlsonOct 10, 2024

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.