diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-11-11 09:56:23 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-11-12 09:44:24 +0100 |
commit | b3eb7d172aab6c7f423aea2f97c27099d6b65f7a (patch) | |
tree | 85ba74c547351b2626899ddd8b2acec0f6fbeb21 /include | |
parent | 8686aab69402ccad4bde0c2d73ec18e503ca11fd (diff) |
quiche: reject headers in the wrong order
Pseudo header MUST come before regular headers or cause an error.
Reported-by: Cynthia Coan
Fixes #4571
Closes #4584
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 dcbe8995c..8c43fa884 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -501,7 +501,9 @@ typedef enum { CURLE_FTP_COULDNT_SET_TYPE, /* 17 */ CURLE_PARTIAL_FILE, /* 18 */ CURLE_FTP_COULDNT_RETR_FILE, /* 19 */ - CURLE_OBSOLETE20, /* 20 - NOT USED */ + 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_QUOTE_ERROR, /* 21 - quote command failure */ CURLE_HTTP_RETURNED_ERROR, /* 22 */ CURLE_WRITE_ERROR, /* 23 */ |