mirror of
https://github.com/git/git.git
synced 2026-01-11 10:38:53 +00:00
git-curl-compat: remove check for curl 7.21.5
libcurl 7.21.5 was released in April 2011, which is well over ten years ago, and no major operating system vendor is still providing security support for it. Debian 7, RHEL 7, and Ubuntu 12.04, 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>
This commit is contained in:
committed by
Taylor Blau
parent
ef8ce8f3d4
commit
8bf7f9e1ff
@@ -28,13 +28,6 @@
|
||||
* introduced, oldest first, in the official version of cURL library.
|
||||
*/
|
||||
|
||||
/**
|
||||
* CURL_SOCKOPT_OK was added in 7.21.5, released in April 2011.
|
||||
*/
|
||||
#if LIBCURL_VERSION_NUM < 0x071505
|
||||
#define CURL_SOCKOPT_OK 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* CURLOPT_TCP_KEEPALIVE was added in 7.25.0, released in March 2012.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user