Skip to content

Commit 35508fd

Browse files
authored
Merge pull request #159 from chenrui333/curl-8.10-patch
fix: remove use of `CURLOPT_CLOSEPOLICY` (removed since curl 8.10+)
2 parents 55e70aa + bc38005 commit 35508fd

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

include/curl_easy.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -356,13 +356,6 @@ namespace curl {
356356
/* Max amount of cached alive connections */
357357
CURLCPP_DEFINE_OPTION(CURLOPT_MAXCONNECTS, long);
358358

359-
/* Renamed / obsoleted since 7.37 */
360-
#if defined(LIBCURL_VERSION_NUM) && LIBCURL_VERSION_NUM > 0x072500
361-
CURLCPP_DEFINE_OPTION(CURLOPT_OBSOLETE72, long); /* OBSOLETE, do not use! */
362-
#else
363-
CURLCPP_DEFINE_OPTION(CURLOPT_CLOSEPOLICY, long);
364-
#endif
365-
366359
/* 73 = OBSOLETE */
367360

368361
/* Set to explicitly use a new connection for the upcoming transfer.

0 commit comments

Comments
 (0)