From f66d97b677d114733f6b938d54ce7502d6aff214 Mon Sep 17 00:00:00 2001 From: "Alibek.Jorajev" Date: Wed, 30 May 2018 15:23:35 +0100 Subject: CURLOPT_RESOLVE: always purge old entry first If there's an existing entry using the selected name. Closes #2622 --- docs/libcurl/opts/CURLOPT_RESOLVE.3 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/libcurl/opts/CURLOPT_RESOLVE.3') 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. -- cgit v1.2.3