summaryrefslogtreecommitdiffstats
path: root/include/curl
diff options
context:
space:
mode:
authorCurl Upstream <curl-library@cool.haxx.se>2016-11-02 06:34:06 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-05 16:39:32 (GMT)
commit93cc249f3dd7ecd621cd063e4c08bbdb54d971e8 (patch)
tree4cd65530c3a67921921256010ae5ef0a61596e40 /include/curl
parent202adcfe056681109fe61569ecdb3bd69f0b4f97 (diff)
downloadCMake-93cc249f3dd7ecd621cd063e4c08bbdb54d971e8.zip
CMake-93cc249f3dd7ecd621cd063e4c08bbdb54d971e8.tar.gz
CMake-93cc249f3dd7ecd621cd063e4c08bbdb54d971e8.tar.bz2
curl 2016-11-02 (3c561c65)
Code extracted from: https://github.com/curl/curl.git at commit 3c561c657c2f0e553b19115a506592a8bbd744bc (curl-7_51_0).
Diffstat (limited to 'include/curl')
-rw-r--r--include/curl/curl.h11
-rw-r--r--include/curl/curlver.h8
2 files changed, 14 insertions, 5 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 7fd6d1f..9c09cb9 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -30,6 +30,10 @@
* https://cool.haxx.se/mailman/listinfo/curl-library/
*/
+#ifdef CURL_NO_OLDIES
+#define CURL_STRICTER
+#endif
+
#include "curlver.h" /* libcurl version defines */
#include "curlbuild.h" /* libcurl build definitions */
#include "curlrules.h" /* libcurl rules enforcement */
@@ -431,7 +435,7 @@ typedef enum {
CURLE_COULDNT_RESOLVE_PROXY, /* 5 */
CURLE_COULDNT_RESOLVE_HOST, /* 6 */
CURLE_COULDNT_CONNECT, /* 7 */
- CURLE_FTP_WEIRD_SERVER_REPLY, /* 8 */
+ CURLE_WEIRD_SERVER_REPLY, /* 8 */
CURLE_REMOTE_ACCESS_DENIED, /* 9 a service was denied by the server
due to lack of access - when login fails
this is not returned. */
@@ -562,6 +566,7 @@ typedef enum {
/* compatibility with older names */
#define CURLOPT_ENCODING CURLOPT_ACCEPT_ENCODING
+#define CURLE_FTP_WEIRD_SERVER_REPLY CURLE_WEIRD_SERVER_REPLY
/* The following were added in 7.21.5, April 2011 */
#define CURLE_UNKNOWN_TELNET_OPTION CURLE_UNKNOWN_OPTION
@@ -1695,6 +1700,10 @@ typedef enum {
/* Set TCP Fast Open */
CINIT(TCP_FASTOPEN, LONG, 244),
+ /* Continue to send data if the server responds early with an
+ * HTTP status code >= 300 */
+ CINIT(KEEP_SENDING_ON_ERROR, LONG, 245),
+
CURLOPT_LASTENTRY /* the last unused */
} CURLoption;
diff --git a/include/curl/curlver.h b/include/curl/curlver.h
index 81563f2..3bb0235 100644
--- a/include/curl/curlver.h
+++ b/include/curl/curlver.h
@@ -30,13 +30,13 @@
/* This is the version number of the libcurl package from which this header
file origins: */
-#define LIBCURL_VERSION "7.50.1-DEV"
+#define LIBCURL_VERSION "7.51.0-DEV"
/* The numeric version number is also available "in parts" by using these
defines: */
#define LIBCURL_VERSION_MAJOR 7
-#define LIBCURL_VERSION_MINOR 50
-#define LIBCURL_VERSION_PATCH 1
+#define LIBCURL_VERSION_MINOR 51
+#define LIBCURL_VERSION_PATCH 0
/* This is the numeric version of the libcurl version number, meant for easier
parsing and comparions by programs. The LIBCURL_VERSION_NUM define will
@@ -57,7 +57,7 @@
CURL_VERSION_BITS() macro since curl's own configure script greps for it
and needs it to contain the full number.
*/
-#define LIBCURL_VERSION_NUM 0x073201
+#define LIBCURL_VERSION_NUM 0x073300
/*
* This is the date and time when the full source package was created. The