summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/include/curl/curl.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-12-06 14:26:20 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-12-06 14:26:20 (GMT)
commit0290bfc35dee73fb534556700554536f1164caaf (patch)
treefd32adb3acbcc1a0f7495f23b8a96bb9e5d392e9 /Utilities/cmcurl/include/curl/curl.h
parent22f05b1d8c8c52babe62ab44e6f1864aa73164a0 (diff)
parentdf7fa47c1b42a360158f0b8596d177998fd4fa2d (diff)
downloadCMake-0290bfc35dee73fb534556700554536f1164caaf.zip
CMake-0290bfc35dee73fb534556700554536f1164caaf.tar.gz
CMake-0290bfc35dee73fb534556700554536f1164caaf.tar.bz2
Merge topic 'update-curl'
df7fa47c curl: Disable symbol hiding logic in build for CMake f8a1ba20 Merge branch 'upstream-curl' into update-curl 93cc249f curl 2016-11-02 (3c561c65) 25d7b1ca curl: Update script to get curl 7.51.0
Diffstat (limited to 'Utilities/cmcurl/include/curl/curl.h')
-rw-r--r--Utilities/cmcurl/include/curl/curl.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/Utilities/cmcurl/include/curl/curl.h b/Utilities/cmcurl/include/curl/curl.h
index dfaea5d..aa1034b 100644
--- a/Utilities/cmcurl/include/curl/curl.h
+++ b/Utilities/cmcurl/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 "cmcurl/include/curl/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;