diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-06 11:30:08 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-07 14:45:39 +0200 |
commit | f933449d3b6c24e66d4a0c590bca3e7b2a39140d (patch) | |
tree | e12fce26c8357de4d04a48be83d90b6f5bee7cd0 /include/curl | |
parent | 2bdb26a507194e3fca08b3ed2a27becf222a517c (diff) | |
download | curl-f933449d3b6c24e66d4a0c590bca3e7b2a39140d.tar.gz |
CURLINFO_RETRY_AFTER: parse the Retry-After header value
This is only the libcurl part that provides the information. There's no
user of the parsed value. This change includes three new tests for the
parser.
Ref: #3794
Diffstat (limited to 'include/curl')
-rw-r--r-- | include/curl/curl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 6011e416f..9b9ec80c0 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -2623,8 +2623,9 @@ typedef enum { CURLINFO_STARTTRANSFER_TIME_T = CURLINFO_OFF_T + 54, CURLINFO_REDIRECT_TIME_T = CURLINFO_OFF_T + 55, CURLINFO_APPCONNECT_TIME_T = CURLINFO_OFF_T + 56, + CURLINFO_RETRY_AFTER = CURLINFO_OFF_T + 57, - CURLINFO_LASTONE = 56 + CURLINFO_LASTONE = 57 } CURLINFO; /* CURLINFO_RESPONSE_CODE is the new name for the option previously known as |