summaryrefslogtreecommitdiff
path: root/lib/strerror.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-11-11 09:56:23 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-11-12 09:44:24 +0100
commitb3eb7d172aab6c7f423aea2f97c27099d6b65f7a (patch)
tree85ba74c547351b2626899ddd8b2acec0f6fbeb21 /lib/strerror.c
parent8686aab69402ccad4bde0c2d73ec18e503ca11fd (diff)
downloadcurl-b3eb7d172aab6c7f423aea2f97c27099d6b65f7a.tar.gz
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 'lib/strerror.c')
-rw-r--r--lib/strerror.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/strerror.c b/lib/strerror.c
index 7aaa9f4a7..90e8a3131 100644
--- a/lib/strerror.c
+++ b/lib/strerror.c
@@ -314,8 +314,10 @@ curl_easy_strerror(CURLcode error)
case CURLE_AUTH_ERROR:
return "An authentication function returned an error";
+ case CURLE_HTTP3:
+ return "HTTP/3 error";
+
/* error codes not used by current libcurl */
- case CURLE_OBSOLETE20:
case CURLE_OBSOLETE24:
case CURLE_OBSOLETE29:
case CURLE_OBSOLETE32: