1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

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
This commit is contained in:
Daniel Stenberg 2013-10-23 23:14:17 +02:00
parent 58bd0148fb
commit 947d431d50

View File

@ -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 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 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 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 resolves, by including a string in the linked list that uses the format