From b3eb7d172aab6c7f423aea2f97c27099d6b65f7a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 11 Nov 2019 09:56:23 +0100 Subject: 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 --- include/curl/curl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit v1.2.3