diff options
author | Alibek.Jorajev <ajorajev@blackberry.com> | 2018-05-30 15:23:35 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-06-01 12:47:52 +0200 |
commit | f66d97b677d114733f6b938d54ce7502d6aff214 (patch) | |
tree | 6727cfc6ce56762771a85a44f5061f968adc0784 /docs | |
parent | a115c6bbe73175ad6157fce67338d4a18ed768b2 (diff) | |
download | curl-f66d97b677d114733f6b938d54ce7502d6aff214.tar.gz |
CURLOPT_RESOLVE: always purge old entry first
If there's an existing entry using the selected name.
Closes #2622
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_RESOLVE.3 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/libcurl/opts/CURLOPT_RESOLVE.3 b/docs/libcurl/opts/CURLOPT_RESOLVE.3 index b4d79cf3b..d5f8ded64 100644 --- a/docs/libcurl/opts/CURLOPT_RESOLVE.3 +++ b/docs/libcurl/opts/CURLOPT_RESOLVE.3 @@ -50,6 +50,11 @@ HOST+PORT will instead use your provided ADDRESS. Addresses set with \fICURLOPT_RESOLVE(3)\fP will not time-out from the DNS cache like ordinary entries. +If the DNS cache already have an entry for the given host+port pair, then +this entry will be removed and a new entry will be created. This is because +old entry may have have different addresses or be ordinary entries with +time-outs. + The provided ADDRESS set by this option will be used even if \fICURLOPT_IPRESOLVE(3)\fP is set to make libcurl use another IP version. |