summaryrefslogtreecommitdiff
path: root/include/curl/curl.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-06-08 11:03:07 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-06-08 11:07:01 +0200
commit5912da253b64de3cb2a1a229558077219b2c8a35 (patch)
tree515191bd7a2a455b2975dfb744b06aa0660f9151 /include/curl/curl.h
parent7007324a6a50693b089896fe078186bc8965d452 (diff)
downloadcurl-5912da253b64de3cb2a1a229558077219b2c8a35.tar.gz
select: return error from "lethal" poll/select errors
Adds two new error codes: CURLE_UNRECOVERABLE_POLL and CURLM_UNRECOVERABLE_POLL one each for the easy and the multi interfaces. Reported-by: Harry Sintonen Fixes #8921 Closes #8961
Diffstat (limited to 'include/curl/curl.h')
-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 13f01a017..49595a261 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -613,6 +613,7 @@ typedef enum {
CURLE_QUIC_CONNECT_ERROR, /* 96 - QUIC connection error */
CURLE_PROXY, /* 97 - proxy handshake error */
CURLE_SSL_CLIENTCERT, /* 98 - client-side certificate required */
+ CURLE_UNRECOVERABLE_POLL, /* 99 - poll/select returned fatal error */
CURL_LAST /* never use! */
} CURLcode;