mirror of
https://github.com/curl/curl.git
synced 2026-07-25 22:17:16 +03:00
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
This commit is contained in:
parent
b700662b1c
commit
cbb5429001
7 changed files with 25 additions and 14 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue