aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/daemontest_iplimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/daemontest_iplimit.c')
-rw-r--r--src/testcurl/daemontest_iplimit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/daemontest_iplimit.c b/src/testcurl/daemontest_iplimit.c
index 6b714e92..72a46055 100644
--- a/src/testcurl/daemontest_iplimit.c
+++ b/src/testcurl/daemontest_iplimit.c
@@ -124,7 +124,7 @@ testMultithreadedGet ()
124 cbc[i].size = 2048; 124 cbc[i].size = 2048;
125 cbc[i].pos = 0; 125 cbc[i].pos = 0;
126 126
127 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); 127 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1081/hello_world");
128 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 128 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
129 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc[i]); 129 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc[i]);
130 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 130 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
@@ -222,7 +222,7 @@ testMultithreadedPoolGet ()
222 cbc[i].size = 2048; 222 cbc[i].size = 2048;
223 cbc[i].pos = 0; 223 cbc[i].pos = 0;
224 224
225 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); 225 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1081/hello_world");
226 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 226 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
227 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc[i]); 227 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc[i]);
228 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 228 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);