Commit 947d431d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

CURLOPT_RESOLVE: mention they don't time-out

Clarify in the documentation that DNS entries added with CURLOPT_RESOLVE
won't time-out.

Bug: http://curl.haxx.se/mail/lib-2013-10/0062.html
Reported-by: Romulo Ceccon
parent 58bd0148
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2293,7 +2293,9 @@ ADDRESS can of course be either IPv4 or IPv6 style addressing.

This option effectively pre-populates the DNS cache with entries for the
host+port pair so redirects and everything that operations against the
HOST+PORT will instead use your provided ADDRESS.
HOST+PORT will instead use your provided ADDRESS. Addresses to set with
\fICURL_RESOLVE\fP will not time-out from the DNS cache like ordindary
entries.

You can remove names from the DNS cache again, to stop providing these fake
resolves, by including a string in the linked list that uses the format