aboutsummaryrefslogtreecommitdiffstats
path: root/git-curl-compat.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2024-10-23 00:45:50 +0000
committerTaylor Blau <me@ttaylorr.com>2024-10-23 16:16:35 -0400
commitf7c094060c40256c21ee46005b6062a69d71886e (patch)
tree60c6de1f89d00fac5d94aa472f55eba97cfc1bf9 /git-curl-compat.h
parentgit-curl-compat: remove check for curl 7.21.5 (diff)
downloadgit-f7c094060c40256c21ee46005b6062a69d71886e.tar.gz
git-f7c094060c40256c21ee46005b6062a69d71886e.zip
git-curl-compat: remove check for curl 7.25.0
libcurl 7.25.0 was released in March 2012, which is well over ten years ago, and no major operating system vendor is still providing security support for it. Debian 8, RHEL 7, and Ubuntu 12.10, all of which are out of mainstream security support, have all supported a newer version. Remove the check for this version and use this functionality unconditionally. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'git-curl-compat.h')
-rw-r--r--git-curl-compat.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/git-curl-compat.h b/git-curl-compat.h
index c24ed686c1..9100af027f 100644
--- a/git-curl-compat.h
+++ b/git-curl-compat.h
@@ -29,14 +29,6 @@
*/
/**
- * CURLOPT_TCP_KEEPALIVE was added in 7.25.0, released in March 2012.
- */
-#if LIBCURL_VERSION_NUM >= 0x071900
-#define GITCURL_HAVE_CURLOPT_TCP_KEEPALIVE 1
-#endif
-
-
-/**
* CURLOPT_LOGIN_OPTIONS was added in 7.34.0, released in December
* 2013.
*