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

[PATCH v2 1/5] http: drop support for curl < 7.11.1

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jul 21, 2021, 22:22 UTC
Message-ID
<patch-1.5-dcbb6f95652-20210721T220402Z-avarab@gmail.com>
In-Reply-To
<cover-0.5-00000000000-20210721T220402Z-avarab@gmail.com>
From: Jeff King <peff@peff.net>

Drop support for this ancient version of curl and simplify the code by allowing us get rid of some "#ifdef"'s.

Git will not build with vanilla curl older than 7.11.1 due to (at least) two issues:

  - our use of CURLOPT_POSTFIELDSIZE in 37ee680d9b
    (http.postbuffer: allow full range of ssize_t values,
    2017-04-11). This field was introduced in curl 7.11.1.
  - our use of CURLPROTO_* outside any #ifdef in aeae4db174
    (http: create function to get curl allowed protocols,
    2016-12-14). These were introduced in curl 7.19.4.

We could solve these compilation problems with more #ifdefs, but it's not worth the trouble. Version 7.11.1 came out in March of 2004, over 13 years ago. Let's declare that too old and drop any existing ifdefs that go further back. One obvious benefit is that we'll have fewer conditional bits cluttering the code.

This patch drops all #ifdefs that reference older versions (note that curl's preprocessor macros are in hex, so we're looking for 070b01, not 071101).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
 http.c        | 53 ---------------------------------------------------
 http.h        | 12 +-----------
 remote-curl.c |  3 ---
 3 files changed, 1 insertion(+), 67 deletions(-)
diff --git a/http.c b/http.c
index 8119247149a..56182a89e25 100644
--- a/http.c
+++ b/http.c
@@ -19,19 +19,11 @@
 static struct trace_key trace_curl = TRACE_KEY_INIT(CURL);
 static int trace_curl_data = 1;
 static int trace_curl_redact = 1;
-#if LIBCURL_VERSION_NUM >= 0x070a08
 long int git_curl_ipresolve = CURL_IPRESOLVE_WHATEVER;
-#else
-long int git_curl_ipresolve;
-#endif
 int active_requests;
 int http_is_verbose;
 ssize_t http_post_buffer = 16 * LARGE_PACKET_MAX;
 
-#if LIBCURL_VERSION_NUM >= 0x070a06
-#define LIBCURL_CAN_HANDLE_AUTH_ANY
-#endif
-
 static int min_curl_sessions = 1;
 static int curl_session_count;
 #ifdef USE_CURL_MULTI
@@ -68,15 +60,9 @@ static struct {
 	{ "tlsv1.3", CURL_SSLVERSION_TLSv1_3 },
 #endif
 };
-#if LIBCURL_VERSION_NUM >= 0x070903
 static const char *ssl_key;
-#endif
-#if LIBCURL_VERSION_NUM >= 0x070908
 static const char *ssl_capath;
-#endif
-#if LIBCURL_VERSION_NUM >= 0x071304
 static const char *curl_no_proxy;
-#endif
 #if LIBCURL_VERSION_NUM >= 0x072c00
 static const char *ssl_pinnedkey;
 #endif
@@ -101,9 +87,7 @@ static struct {
 	{ "digest", CURLAUTH_DIGEST },
 	{ "negotiate", CURLAUTH_GSSNEGOTIATE },
 	{ "ntlm", CURLAUTH_NTLM },
-#ifdef LIBCURL_CAN_HANDLE_AUTH_ANY
 	{ "anyauth", CURLAUTH_ANY },
-#endif
 	/*
 	 * CURLAUTH_DIGEST_IE has no corresponding command-line option in
 	 * curl(1) and is not included in CURLAUTH_ANY, so we leave it out
@@ -143,7 +127,6 @@ enum http_follow_config http_follow_config = HTTP_FOLLOW_INITIAL;
 
 static struct credential cert_auth = CREDENTIAL_INIT;
 static int ssl_cert_password_required;
-#ifdef LIBCURL_CAN_HANDLE_AUTH_ANY
 static unsigned long http_auth_methods = CURLAUTH_ANY;
 static int http_auth_methods_restricted;
 /* Modes for which empty_auth cannot actually help us. */
@@ -153,7 +136,6 @@ static unsigned long empty_auth_useless =
 	| CURLAUTH_DIGEST_IE
 #endif
 	| CURLAUTH_DIGEST;
-#endif
 
 static struct curl_slist *pragma_header;
 static struct curl_slist *no_pragma_header;
@@ -237,12 +219,8 @@ static void finish_active_slot(struct active_request_slot *slot)
 	if (slot->results != NULL) {
 		slot->results->curl_result = slot->curl_result;
 		slot->results->http_code = slot->http_code;
-#if LIBCURL_VERSION_NUM >= 0x070a08
 		curl_easy_getinfo(slot->curl, CURLINFO_HTTPAUTH_AVAIL,
 				  &slot->results->auth_avail);
-#else
-		slot->results->auth_avail = 0;
-#endif
 
 		curl_easy_getinfo(slot->curl, CURLINFO_HTTP_CONNECTCODE,
 			&slot->results->http_connectcode);
@@ -305,14 +283,10 @@ static int http_options(const char *var, const char *value, void *cb)
 		return git_config_string(&ssl_version, var, value);
 	if (!strcmp("http.sslcert", var))
 		return git_config_pathname(&ssl_cert, var, value);
-#if LIBCURL_VERSION_NUM >= 0x070903
 	if (!strcmp("http.sslkey", var))
 		return git_config_pathname(&ssl_key, var, value);
-#endif
-#if LIBCURL_VERSION_NUM >= 0x070908
 	if (!strcmp("http.sslcapath", var))
 		return git_config_pathname(&ssl_capath, var, value);
-#endif
 	if (!strcmp("http.sslcainfo", var))
 		return git_config_pathname(&ssl_cainfo, var, value);
 	if (!strcmp("http.sslcertpasswordprotected", var)) {
@@ -461,12 +435,6 @@ static int curl_empty_auth_enabled(void)
 	if (curl_empty_auth >= 0)
 		return curl_empty_auth;
 
-#ifndef LIBCURL_CAN_HANDLE_AUTH_ANY
-	/*
-	 * Our libcurl is too old to do AUTH_ANY in the first place;
-	 * just default to turning the feature off.
-	 */
-#else
 	/*
 	 * In the automatic case, kick in the empty-auth
 	 * hack as long as we would potentially try some
@@ -479,7 +447,6 @@ static int curl_empty_auth_enabled(void)
 	if (http_auth_methods_restricted &&
 	    (http_auth_methods & ~empty_auth_useless))
 		return 1;
-#endif
 	return 0;
 }
 
@@ -552,7 +519,6 @@ static void init_curl_proxy_auth(CURL *result)
 
 	var_override(&http_proxy_authmethod, getenv("GIT_HTTP_PROXY_AUTHMETHOD"));
 
-#if LIBCURL_VERSION_NUM >= 0x070a07 /* CURLOPT_PROXYAUTH and CURLAUTH_ANY */
 	if (http_proxy_authmethod) {
 		int i;
 		for (i = 0; i < ARRAY_SIZE(proxy_authmethods); i++) {
@@ -570,7 +536,6 @@ static void init_curl_proxy_auth(CURL *result)
 	}
 	else
 		curl_easy_setopt(result, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
-#endif
 }
 
 static int has_cert_password(void)
@@ -879,12 +844,8 @@ static CURL *get_curl_handle(void)
     }
 #endif
 
-#if LIBCURL_VERSION_NUM >= 0x070907
 	curl_easy_setopt(result, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);
-#endif
-#ifdef LIBCURL_CAN_HANDLE_AUTH_ANY
 	curl_easy_setopt(result, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
-#endif
 
 #ifdef CURLGSSAPI_DELEGATION_FLAG
 	if (curl_deleg) {
@@ -940,14 +901,10 @@ static CURL *get_curl_handle(void)
 		curl_easy_setopt(result, CURLOPT_SSLCERT, ssl_cert);
 	if (has_cert_password())
 		curl_easy_setopt(result, CURLOPT_KEYPASSWD, cert_auth.password);
-#if LIBCURL_VERSION_NUM >= 0x070903
 	if (ssl_key != NULL)
 		curl_easy_setopt(result, CURLOPT_SSLKEY, ssl_key);
-#endif
-#if LIBCURL_VERSION_NUM >= 0x070908
 	if (ssl_capath != NULL)
 		curl_easy_setopt(result, CURLOPT_CAPATH, ssl_capath);
-#endif
 #if LIBCURL_VERSION_NUM >= 0x072c00
 	if (ssl_pinnedkey != NULL)
 		curl_easy_setopt(result, CURLOPT_PINNEDPUBLICKEY, ssl_pinnedkey);
@@ -1180,12 +1137,8 @@ void http_init(struct remote *remote, const char *url, int proactive_auth)
 		curl_ssl_verify = 0;
 
 	set_from_env(&ssl_cert, "GIT_SSL_CERT");
-#if LIBCURL_VERSION_NUM >= 0x070903
 	set_from_env(&ssl_key, "GIT_SSL_KEY");
-#endif
-#if LIBCURL_VERSION_NUM >= 0x070908
 	set_from_env(&ssl_capath, "GIT_SSL_CAPATH");
-#endif
 	set_from_env(&ssl_cainfo, "GIT_SSL_CAINFO");
 
 	set_from_env(&user_agent, "GIT_HTTP_USER_AGENT");
@@ -1367,12 +1320,8 @@ struct active_request_slot *get_active_slot(void)
 	else
 		curl_easy_setopt(slot->curl, CURLOPT_FOLLOWLOCATION, 0);
 
-#if LIBCURL_VERSION_NUM >= 0x070a08
 	curl_easy_setopt(slot->curl, CURLOPT_IPRESOLVE, git_curl_ipresolve);
-#endif
-#ifdef LIBCURL_CAN_HANDLE_AUTH_ANY
 	curl_easy_setopt(slot->curl, CURLOPT_HTTPAUTH, http_auth_methods);
-#endif
 	if (http_auth.password || curl_empty_auth_enabled())
 		init_curl_http_auth(slot->curl);
 
@@ -1654,13 +1603,11 @@ static int handle_curl_result(struct slot_results *results)
 			credential_reject(&http_auth);
 			return HTTP_NOAUTH;
 		} else {
-#ifdef LIBCURL_CAN_HANDLE_AUTH_ANY
 			http_auth_methods &= ~CURLAUTH_GSSNEGOTIATE;
 			if (results->auth_avail) {
 				http_auth_methods &= results->auth_avail;
 				http_auth_methods_restricted = 1;
 			}
-#endif
 			return HTTP_REAUTH;
 		}
 	} else {
diff --git a/http.h b/http.h
index bf3d1270ad8..d2f8cc56617 100644
--- a/http.h
+++ b/http.h
@@ -22,13 +22,7 @@
 #define DEFAULT_MAX_REQUESTS 5
 #endif
 
-#if LIBCURL_VERSION_NUM < 0x070704
-#define curl_global_cleanup() do { /* nothing */ } while (0)
-#endif
-
-#if LIBCURL_VERSION_NUM < 0x070800
-#define curl_global_init(a) do { /* nothing */ } while (0)
-#elif LIBCURL_VERSION_NUM >= 0x070c00
+#if LIBCURL_VERSION_NUM >= 0x070c00
 #define curl_global_init(a) curl_global_init_mem(a, xmalloc, free, \
 						xrealloc, xstrdup, xcalloc)
 #endif
@@ -37,10 +31,6 @@
 #define NO_CURL_EASY_DUPHANDLE
 #endif
 
-#if LIBCURL_VERSION_NUM < 0x070a03
-#define CURLE_HTTP_RETURNED_ERROR CURLE_HTTP_NOT_FOUND
-#endif
-
 #if LIBCURL_VERSION_NUM < 0x070c03
 #define NO_CURL_IOCTL
 #endif
diff --git a/remote-curl.c b/remote-curl.c
index 9d432c299a2..9e6918468e4 100644
--- a/remote-curl.c
+++ b/remote-curl.c
@@ -185,8 +185,6 @@ static int set_option(const char *name, const char *value)
 						 strbuf_detach(&unquoted, NULL));
 		}
 		return 0;
-
-#if LIBCURL_VERSION_NUM >= 0x070a08
 	} else if (!strcmp(name, "family")) {
 		if (!strcmp(value, "ipv4"))
 			git_curl_ipresolve = CURL_IPRESOLVE_V4;
@@ -197,7 +195,6 @@ static int set_option(const char *name, const char *value)
 		else
 			return -1;
 		return 0;
-#endif /* LIBCURL_VERSION_NUM >= 0x070a08 */
 	} else if (!strcmp(name, "from-promisor")) {
 		options.from_promisor = 1;
 		return 0;
-- 
2.32.0.874.ge7a9d58bfcf
Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 39 of 162 in “dropping support for older curl”
  1. 0/4 dropping support for older curlJeff King, Aug 9, 2017
  2. 1/4 http: drop support for curl < 7.11.1Jeff King, Aug 9, 2017
  3. 2/4 http: drop support for curl < 7.16.0Jeff King, Aug 9, 2017
  4. Stefan BellerAug 9, 2017
  5. Jeff KingAug 9, 2017
  6. Junio C HamanoAug 9, 2017
  7. Nicolas Morey-ChaisemartinAug 9, 2017
  8. Jeff KingAug 9, 2017
  9. Nicolas Morey-ChaisemartinAug 9, 2017
  10. Jeff KingAug 9, 2017
  11. Jeff KingAug 9, 2017
  12. 3/4 http: drop support for curl < 7.19.4Jeff King, Aug 9, 2017
  13. Ævar Arnfjörð BjarmasonAug 9, 2017
  14. Jeff KingAug 9, 2017
  15. 5/4 curl: remove ifdef'd code never used with curl >=7.19.4Ævar Arnfjörð Bjarmason, Aug 9, 2017
  16. Stefan BellerAug 9, 2017
  17. Jeff KingAug 9, 2017
  18. Mischa POSLAWSKYAug 10, 2017
  19. Jeff KingAug 10, 2017
  20. 4/4 http: #error on too-old curlJeff King, Aug 9, 2017
  21. Stefan BellerAug 9, 2017
  22. Johannes SchindelinAug 9, 2017
  23. Jeff KingAug 9, 2017
  24. Johannes SchindelinAug 10, 2017
  25. Jeff KingAug 10, 2017
  26. Junio C HamanoAug 10, 2017
  27. Jeff KingAug 10, 2017
  28. Jeff KingAug 11, 2017
  29. Tom G. ChristensenAug 10, 2017
  30. Jeff KingAug 10, 2017
  31. Tom G. ChristensenAug 10, 2017
  32. Jeff KingAug 10, 2017
  33. Tom G. ChristensenAug 10, 2017
  34. Jeff KingAug 10, 2017
  35. Tom G. ChristensenAug 10, 2017
  36. Tom G. ChristensenAug 10, 2017
  37. Ævar Arnfjörð BjarmasonAug 9, 2017
  38. 0/5 drop support for ancient curlÆvar Arnfjörð Bjarmason, Jul 21, 2021
  39. 1/5 http: drop support for curl < 7.11.1Ævar Arnfjörð Bjarmason, Jul 21, 2021
  40. Junio C HamanoJul 21, 2021
  41. 2/5 http: drop support for curl < 7.16.0Ævar Arnfjörð Bjarmason, Jul 21, 2021
  42. 3/5 http: drop support for curl < 7.19.4Ævar Arnfjörð Bjarmason, Jul 21, 2021
  43. Junio C HamanoJul 21, 2021
  44. 4/5 http: drop support for curl < 7.19.3 and < 7.16.4 (again)Ævar Arnfjörð Bjarmason, Jul 21, 2021
  45. Junio C HamanoJul 21, 2021
  46. 5/5 http: rename CURLOPT_FILE to CURLOPT_WRITEDATAÆvar Arnfjörð Bjarmason, Jul 21, 2021
  47. Junio C HamanoJul 21, 2021
  48. Junio C HamanoJul 21, 2021
  49. brian m. carlsonJul 21, 2021
  50. Ævar Arnfjörð BjarmasonJul 22, 2021
  51. brian m. carlsonJul 22, 2021
  52. Ævar Arnfjörð BjarmasonJul 23, 2021
  53. Bagas SanjayaJul 22, 2021
  54. Jeff KingJul 23, 2021
  55. Junio C HamanoJul 23, 2021
  56. Randall S. BeckerJul 23, 2021
  57. Jeff KingJul 24, 2021
  58. 0/7 drop support for ancient curl, improve version checksÆvar Arnfjörð Bjarmason, Jul 30, 2021
  59. 1/7 http: drop support for curl < 7.11.1Ævar Arnfjörð Bjarmason, Jul 30, 2021
  60. 2/7 http: drop support for curl < 7.16.0Ævar Arnfjörð Bjarmason, Jul 30, 2021
  61. 3/7 http: drop support for curl < 7.19.4Ævar Arnfjörð Bjarmason, Jul 30, 2021
  62. 5/7 http: drop support for curl < 7.18.0 (again)Ævar Arnfjörð Bjarmason, Jul 30, 2021
  63. Junio C HamanoJul 30, 2021
  64. 4/7 http: drop support for curl < 7.19.3 and <= 7.16.4 (or <7.17.0) (again)Ævar Arnfjörð Bjarmason, Jul 30, 2021
  65. Junio C HamanoJul 30, 2021
  66. 6/7 http: rename CURLOPT_FILE to CURLOPT_WRITEDATAÆvar Arnfjörð Bjarmason, Jul 30, 2021
  67. 7/7 http: centralize the accounting of libcurl dependenciesÆvar Arnfjörð Bjarmason, Jul 30, 2021
  68. Junio C HamanoJul 30, 2021
  69. 0/5 drop support for ancient curlÆvar Arnfjörð Bjarmason, Jul 30, 2021
  70. 1/5 http: drop support for curl < 7.11.1Ævar Arnfjörð Bjarmason, Jul 30, 2021
  71. 2/5 http: drop support for curl < 7.16.0Ævar Arnfjörð Bjarmason, Jul 30, 2021
  72. Andrei RybakSep 10, 2021
  73. Jeff KingSep 11, 2021
  74. Junio C HamanoSep 11, 2021
  75. Jeff KingSep 11, 2021
  76. 3/5 http: drop support for curl < 7.19.4Ævar Arnfjörð Bjarmason, Jul 30, 2021
  77. 4/5 http: drop support for curl < 7.19.3 and < 7.17.0 (again)Ævar Arnfjörð Bjarmason, Jul 30, 2021
  78. 5/5 http: rename CURLOPT_FILE to CURLOPT_WRITEDATAÆvar Arnfjörð Bjarmason, Jul 30, 2021
  79. Junio C HamanoJul 30, 2021
  80. Junio C HamanoJul 30, 2021
  81. Junio C HamanoJul 30, 2021
  82. 0/5 post-v2.33 "drop support for ancient curl" follow-upÆvar Arnfjörð Bjarmason, Sep 8, 2021
  83. 1/5 http: drop support for curl < 7.18.0 (again)Ævar Arnfjörð Bjarmason, Sep 8, 2021
  84. Junio C HamanoSep 9, 2021
  85. 2/5 http: correct curl version check for CURLOPT_PINNEDPUBLICKEYÆvar Arnfjörð Bjarmason, Sep 8, 2021
  86. Jeff KingSep 8, 2021
  87. Junio C HamanoSep 9, 2021
  88. Jeff KingSep 10, 2021
  89. Jeff KingSep 10, 2021
  90. Ævar Arnfjörð BjarmasonSep 10, 2021
  91. Jeff KingSep 10, 2021
  92. Daniel StenbergSep 10, 2021
  93. Ævar Arnfjörð BjarmasonSep 10, 2021
  94. Daniel StenbergSep 10, 2021
  95. 3/5 http: correct version check for CURL_HTTP_VERSION_2_0Ævar Arnfjörð Bjarmason, Sep 8, 2021
  96. Jeff KingSep 8, 2021
  97. 4/5 http: centralize the accounting of libcurl dependenciesÆvar Arnfjörð Bjarmason, Sep 8, 2021
  98. Jeff KingSep 8, 2021
  99. Junio C HamanoSep 9, 2021
  100. Jeff KingSep 9, 2021
  101. 5/5 http: don't hardcode the value of CURL_SOCKOPT_OKÆvar Arnfjörð Bjarmason, Sep 8, 2021
  102. Junio C HamanoSep 9, 2021
  103. Junio C HamanoSep 9, 2021
  104. Jeff KingSep 8, 2021
  105. 0/8 post-v2.33 "drop support for ancient curl" follow-upÆvar Arnfjörð Bjarmason, Sep 10, 2021
  106. 1/8 INSTALL: don't mention the "curl" executable at allÆvar Arnfjörð Bjarmason, Sep 10, 2021
  107. Jeff KingSep 10, 2021
  108. 2/8 INSTALL: mention that we need libcurl 7.19.4 or newer to buildÆvar Arnfjörð Bjarmason, Sep 10, 2021
  109. Jeff KingSep 10, 2021
  110. Junio C HamanoSep 10, 2021
  111. Jeff KingSep 10, 2021
  112. 3/8 Makefile: drop support for curl < 7.9.8 (again)Ævar Arnfjörð Bjarmason, Sep 10, 2021
  113. Jeff KingSep 10, 2021
  114. 4/8 http: drop support for curl < 7.18.0 (again)Ævar Arnfjörð Bjarmason, Sep 10, 2021
  115. 5/8 http: correct version check for CURL_HTTP_VERSION_2Ævar Arnfjörð Bjarmason, Sep 10, 2021
  116. Jeff KingSep 10, 2021
  117. Daniel StenbergSep 10, 2021
  118. Jeff KingSep 10, 2021
  119. Ævar Arnfjörð BjarmasonSep 10, 2021
  120. 6/8 http: correct curl version check for CURLOPT_PINNEDPUBLICKEYÆvar Arnfjörð Bjarmason, Sep 10, 2021
  121. Junio C HamanoSep 10, 2021
  122. 7/8 http: centralize the accounting of libcurl dependenciesÆvar Arnfjörð Bjarmason, Sep 10, 2021
  123. Jeff KingSep 10, 2021
  124. 8/8 http: don't hardcode the value of CURL_SOCKOPT_OKÆvar Arnfjörð Bjarmason, Sep 10, 2021
  125. Jeff KingSep 10, 2021
  126. Jeff KingSep 10, 2021
  127. Ævar Arnfjörð BjarmasonSep 10, 2021
  128. Jeff KingSep 10, 2021
  129. Junio C HamanoSep 10, 2021
  130. Randall S. BeckerSep 10, 2021
  131. Ævar Arnfjörð BjarmasonSep 10, 2021
  132. Junio C HamanoSep 10, 2021
  133. Junio C HamanoSep 10, 2021
  134. Konstantin RyabitsevSep 10, 2021
  135. Junio C HamanoSep 10, 2021
  136. Ævar Arnfjörð BjarmasonSep 10, 2021
  137. 0/9 post-v2.33 "drop support for ancient curl" follow-upÆvar Arnfjörð Bjarmason, Sep 11, 2021
  138. 1/9 INSTALL: don't mention the "curl" executable at allÆvar Arnfjörð Bjarmason, Sep 11, 2021
  139. 2/9 INSTALL: reword and copy-edit the "libcurl" sectionÆvar Arnfjörð Bjarmason, Sep 11, 2021
  140. 3/9 INSTALL: mention that we need libcurl 7.19.4 or newer to buildÆvar Arnfjörð Bjarmason, Sep 11, 2021
  141. 4/9 Makefile: drop support for curl < 7.9.8 (again)Ævar Arnfjörð Bjarmason, Sep 11, 2021
  142. 5/9 http: drop support for curl < 7.18.0 (again)Ævar Arnfjörð Bjarmason, Sep 11, 2021
  143. 6/9 http: correct version check for CURL_HTTP_VERSION_2Ævar Arnfjörð Bjarmason, Sep 11, 2021
  144. 7/9 http: correct curl version check for CURLOPT_PINNEDPUBLICKEYÆvar Arnfjörð Bjarmason, Sep 11, 2021
  145. 8/9 http: centralize the accounting of libcurl dependenciesÆvar Arnfjörð Bjarmason, Sep 11, 2021
  146. 9/9 http: don't hardcode the value of CURL_SOCKOPT_OKÆvar Arnfjörð Bjarmason, Sep 11, 2021
  147. Jeff KingSep 11, 2021
  148. Junio C HamanoSep 12, 2021
  149. 0/9 post-v2.33 "drop support for ancient curl" follow-upÆvar Arnfjörð Bjarmason, Sep 13, 2021
  150. 1/9 INSTALL: don't mention the "curl" executable at allÆvar Arnfjörð Bjarmason, Sep 13, 2021
  151. 2/9 INSTALL: reword and copy-edit the "libcurl" sectionÆvar Arnfjörð Bjarmason, Sep 13, 2021
  152. 3/9 INSTALL: mention that we need libcurl 7.19.4 or newer to buildÆvar Arnfjörð Bjarmason, Sep 13, 2021
  153. 7/9 http: correct curl version check for CURLOPT_PINNEDPUBLICKEYÆvar Arnfjörð Bjarmason, Sep 13, 2021
  154. 6/9 http: correct version check for CURL_HTTP_VERSION_2Ævar Arnfjörð Bjarmason, Sep 13, 2021
  155. 4/9 Makefile: drop support for curl < 7.9.8 (again)Ævar Arnfjörð Bjarmason, Sep 13, 2021
  156. 5/9 http: drop support for curl < 7.18.0 (again)Ævar Arnfjörð Bjarmason, Sep 13, 2021
  157. 8/9 http: centralize the accounting of libcurl dependenciesÆvar Arnfjörð Bjarmason, Sep 13, 2021
  158. 9/9 http: don't hardcode the value of CURL_SOCKOPT_OKÆvar Arnfjörð Bjarmason, Sep 13, 2021
  159. Jeff KingSep 13, 2021
  160. Junio C HamanoSep 13, 2021
  161. Tom G. ChristensenAug 10, 2017
  162. Johannes SchindelinAug 14, 2017

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.