From cbb5429001084df4e71ebd95dbf748c3c302c9f7 Mon Sep 17 00:00:00 2001 From: Emil Engler Date: Tue, 24 Dec 2019 11:17:16 +0100 Subject: 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 --- include/curl/curl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.3