From f7c094060c40256c21ee46005b6062a69d71886e Mon Sep 17 00:00:00 2001 From: "brian m. carlson" Date: Wed, 23 Oct 2024 00:45:50 +0000 Subject: 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 Signed-off-by: Taylor Blau --- git-curl-compat.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'git-curl-compat.h') 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 @@ -28,14 +28,6 @@ * introduced, oldest first, in the official version of cURL library. */ -/** - * 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. -- cgit v1.3-5-g9baa