mirror of
https://github.com/curl/curl.git
synced 2026-07-26 11:27:16 +03:00
include: make CURLE_HTTP3 use a new error code
To avoid potential issues with error code reuse. Reported-by: Christoph M. Becker Assisted-by: Dan Fandrich Fixes #4601 Closes #4627
This commit is contained in:
parent
e1f66ee3bf
commit
f70da9c17e
4 changed files with 9 additions and 5 deletions
|
|
@ -501,9 +501,7 @@ typedef enum {
|
|||
CURLE_FTP_COULDNT_SET_TYPE, /* 17 */
|
||||
CURLE_PARTIAL_FILE, /* 18 */
|
||||
CURLE_FTP_COULDNT_RETR_FILE, /* 19 */
|
||||
CURLE_HTTP3, /* 20 - An HTTP/3 layer problem.
|
||||
[was obsoleted in August 2007 for 7.17.0,
|
||||
reused in November 2019 for 7.67.1] */
|
||||
CURLE_OBSOLETE20, /* 20 - NOT USED */
|
||||
CURLE_QUOTE_ERROR, /* 21 - quote command failure */
|
||||
CURLE_HTTP_RETURNED_ERROR, /* 22 */
|
||||
CURLE_WRITE_ERROR, /* 23 */
|
||||
|
|
@ -604,6 +602,7 @@ typedef enum {
|
|||
inside a callback */
|
||||
CURLE_AUTH_ERROR, /* 94 - an authentication function returned an
|
||||
error */
|
||||
CURLE_HTTP3, /* 95 - An HTTP/3 layer problem */
|
||||
CURL_LAST /* never use! */
|
||||
} CURLcode;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue