mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
d95f3dc0b1
This patch adds CURLOPT_DNS_SHUFFLE_ADDRESSES to explicitly request shuffling of IP addresses returned for a hostname when there is more than one. This is useful when the application knows that a round robin approach is appropriate and is willing to accept the consequences of potentially discarding some preference order returned by the system's implementation. Closes #1694
27 lines
255 B
Plaintext
27 lines
255 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
unittest
|
|
curlopt_dns_shuffle_addresses
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
unittest
|
|
</features>
|
|
<name>
|
|
verify DNS shuffling
|
|
</name>
|
|
<tool>
|
|
unit1608
|
|
</tool>
|
|
</client>
|
|
|
|
</testcase>
|