Lines Matching defs:address
47 /* host:port:address[,address]... */
55 const char *address[10];
59 /* CURLOPT_RESOLVE address parsing test - to test the following defect fix:
63 for example, if there is "test.com:80" with address "1.1.1.1"
64 and we called CURLOPT_RESOLVE with address "2.2.2.2", then DNS entry needs to
67 2) when cached address is already there and close to expire, then by the
69 we set address using CURLOPT_RESOLVE,
71 if address already exists
73 So we fixing this by timestamp to zero if address already exists too.
82 expected result: cached address has zero timestamp.
85 different address.
88 expected result: cached address has zero timestamp and new address
115 int addressnum = sizeof (tests[i].address) / sizeof (*tests[i].address);
155 if(!addr && !tests[i].address[j])
166 if(addr && !tests[i].address[j]) {
168 "is %s but tests[%d].address[%d] is NULL.\n",
174 if(!addr && tests[i].address[j]) {
176 "is NULL but tests[%d].address[%d] is %s.\n",
177 __FILE__, __LINE__, i, i, j, tests[i].address[j]);
182 if(!curl_strequal(ipaddress, tests[i].address[j])) {
184 "%s is not equal to tests[%d].address[%d] %s.\n",
185 __FILE__, __LINE__, i, ipaddress, i, j, tests[i].address[j]);
192 "for tests[%d].address[%d] is %d but tests[%d].port is %d.\n",