]> granicus.if.org Git - curl/commit
CURLINFO_RETRY_AFTER: parse the Retry-After header value
authorDaniel Stenberg <daniel@haxx.se>
Tue, 6 Aug 2019 09:30:08 +0000 (11:30 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 7 Aug 2019 12:45:39 +0000 (14:45 +0200)
commitf933449d3b6c24e66d4a0c590bca3e7b2a39140d
treee12fce26c8357de4d04a48be83d90b6f5bee7cd0
parent2bdb26a507194e3fca08b3ed2a27becf222a517c
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
14 files changed:
docs/libcurl/curl_easy_getinfo.3
docs/libcurl/opts/CURLINFO_RETRY_AFTER.3 [new file with mode: 0644]
docs/libcurl/opts/Makefile.inc
docs/libcurl/symbols-in-versions
include/curl/curl.h
lib/getinfo.c
lib/http.c
lib/urldata.h
tests/data/Makefile.inc
tests/data/test1594 [new file with mode: 0644]
tests/data/test1595 [new file with mode: 0644]
tests/data/test1596 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1594.c [new file with mode: 0644]