aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
parentb700662b1c77c8af7e290538f748b71d75a79ae7 (diff)
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 'include')
-rw-r--r--include/curl/curl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index ae5545206..7921acfc5 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -600,6 +600,7 @@ typedef enum {
CURLE_AUTH_ERROR, /* 94 - an authentication function returned an
error */
CURLE_HTTP3, /* 95 - An HTTP/3 layer problem */
+ CURLE_QUIC_CONNECT_ERROR, /* 96 - QUIC connection error */
CURL_LAST /* never use! */
} CURLcode;