mirror of
https://github.com/curl/curl.git
synced 2026-07-23 02:07:15 +03:00
- Larry Campbell added CURLINFO_OS_ERRNO to curl_easy_getinfo() that allows an
app to retrieve the errno variable after a (connect) failure. It will make sense to provide this for more failures in a more generic way, but let's start like this.
This commit is contained in:
parent
45be6d6645
commit
be1cece69b
7 changed files with 31 additions and 15 deletions
|
|
@ -1178,9 +1178,10 @@ typedef enum {
|
|||
CURLINFO_HTTP_CONNECTCODE = CURLINFO_LONG + 22,
|
||||
CURLINFO_HTTPAUTH_AVAIL = CURLINFO_LONG + 23,
|
||||
CURLINFO_PROXYAUTH_AVAIL = CURLINFO_LONG + 24,
|
||||
CURLINFO_OS_ERRNO = CURLINFO_LONG + 25,
|
||||
/* Fill in new entries below here! */
|
||||
|
||||
CURLINFO_LASTONE = 23
|
||||
CURLINFO_LASTONE = 26
|
||||
} CURLINFO;
|
||||
|
||||
/* CURLINFO_RESPONSE_CODE is the new name for the option previously known as
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue