diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-07-23 09:23:56 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-07-23 09:23:56 +0200 |
commit | 81cd24adb8bf09ef26ab8cf56955136711dbd7df (patch) | |
tree | d640d14e8c6fe72e1682324d4a066870f13cef7d /include | |
parent | 713f96ee0c14d231d89f52f0ad0471336c147e97 (diff) |
http2: more and better error checking
1 - fixes the warnings when built without http2 support
2 - adds CURLE_HTTP2, a new error code for errors detected by nghttp2
basically when they are about http2 specific things.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 526c7213e..5528d87bf 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -423,7 +423,9 @@ typedef enum { CURLE_FTP_WEIRD_PASV_REPLY, /* 13 */ CURLE_FTP_WEIRD_227_FORMAT, /* 14 */ CURLE_FTP_CANT_GET_HOST, /* 15 */ - CURLE_OBSOLETE16, /* 16 - NOT USED */ + CURLE_HTTP2, /* 16 - A problem in the http2 framing layer. + [was obsoleted in August 2007 for 7.17.0, + reused in July 2014 for 7.38.0] */ CURLE_FTP_COULDNT_SET_TYPE, /* 17 */ CURLE_PARTIAL_FILE, /* 18 */ CURLE_FTP_COULDNT_RETR_FILE, /* 19 */ |