Skip to content

Commit 8bf7f9e

Browse files
bk2204ttaylorr
authored andcommitted
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 <[email protected]> Signed-off-by: Taylor Blau <[email protected]>
1 parent ef8ce8f commit 8bf7f9e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

git-curl-compat.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@
2828
* introduced, oldest first, in the official version of cURL library.
2929
*/
3030

31-
/**
32-
* CURL_SOCKOPT_OK was added in 7.21.5, released in April 2011.
33-
*/
34-
#if LIBCURL_VERSION_NUM < 0x071505
35-
#define CURL_SOCKOPT_OK 0
36-
#endif
37-
3831
/**
3932
* CURLOPT_TCP_KEEPALIVE was added in 7.25.0, released in March 2012.
4033
*/

0 commit comments

Comments
 (0)