summaryrefslogtreecommitdiff
path: root/lib/strerror.c
diff options
context:
space:
mode:
authorEmil Engler <me@emilengler.com>2019-12-24 11:17:16 +0100
committerJay Satiro <raysatiro@yahoo.com>2020-01-11 18:19:32 -0500
commitcbb5429001084df4e71ebd95dbf748c3c302c9f7 (patch)
treee9d04e16e904316b710465aff43040a0c88a8618 /lib/strerror.c
parentb700662b1c77c8af7e290538f748b71d75a79ae7 (diff)
downloadcurl-cbb5429001084df4e71ebd95dbf748c3c302c9f7.tar.gz
ngtcp2: Add an error code for QUIC connection errors
- Add new error code CURLE_QUIC_CONNECT_ERROR for QUIC connection errors. Prior to this change CURLE_FAILED_INIT was used, but that was not correct. Closes https://github.com/curl/curl/pull/4754
Diffstat (limited to 'lib/strerror.c')
-rw-r--r--lib/strerror.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/strerror.c b/lib/strerror.c
index a7b761800..1a166bf01 100644
--- a/lib/strerror.c
+++ b/lib/strerror.c
@@ -317,6 +317,9 @@ curl_easy_strerror(CURLcode error)
case CURLE_HTTP3:
return "HTTP/3 error";
+ case CURLE_QUIC_CONNECT_ERROR:
+ return "QUIC connection error";
+
/* error codes not used by current libcurl */
case CURLE_OBSOLETE20:
case CURLE_OBSOLETE24: