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:
Emil Engler 2019-12-24 11:17:16 +01:00 committed by Jay Satiro
parent b700662b1c
commit cbb5429001
7 changed files with 25 additions and 14 deletions

View file

@ -128,7 +128,8 @@ e92: Stream error in the HTTP/2 framing layer
e93: API function called from within callback
e94: An authentication function returned an error
e95: HTTP/3 error
e96: Unknown error
e96: QUIC connection error
e97: Unknown error
m-1: Please call curl_multi_perform() soon
m0: No error
m1: Invalid multi handle