aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/daemontest_get_chunked.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/daemontest_get_chunked.c')
-rw-r--r--src/testcurl/daemontest_get_chunked.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/daemontest_get_chunked.c b/src/testcurl/daemontest_get_chunked.c
index fd2561ca..9d7f3c88 100644
--- a/src/testcurl/daemontest_get_chunked.c
+++ b/src/testcurl/daemontest_get_chunked.c
@@ -162,7 +162,7 @@ testInternalGet ()
162 if (d == NULL) 162 if (d == NULL)
163 return 1; 163 return 1;
164 c = curl_easy_init (); 164 c = curl_easy_init ();
165 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1080/hello_world"); 165 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1080/hello_world");
166 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 166 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
167 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 167 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
168 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 168 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
@@ -204,7 +204,7 @@ testMultithreadedGet ()
204 if (d == NULL) 204 if (d == NULL)
205 return 16; 205 return 16;
206 c = curl_easy_init (); 206 c = curl_easy_init ();
207 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); 207 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1081/hello_world");
208 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 208 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
209 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 209 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
210 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 210 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
@@ -247,7 +247,7 @@ testMultithreadedPoolGet ()
247 if (d == NULL) 247 if (d == NULL)
248 return 16; 248 return 16;
249 c = curl_easy_init (); 249 c = curl_easy_init ();
250 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); 250 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1081/hello_world");
251 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 251 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
252 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 252 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
253 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 253 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
@@ -299,7 +299,7 @@ testExternalGet ()
299 if (d == NULL) 299 if (d == NULL)
300 return 256; 300 return 256;
301 c = curl_easy_init (); 301 c = curl_easy_init ();
302 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1082/hello_world"); 302 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1082/hello_world");
303 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 303 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
304 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 304 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
305 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 305 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);