aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/daemontest_large_put.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/daemontest_large_put.c')
-rw-r--r--src/testcurl/daemontest_large_put.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/daemontest_large_put.c b/src/testcurl/daemontest_large_put.c
index 3767f703..048409f9 100644
--- a/src/testcurl/daemontest_large_put.c
+++ b/src/testcurl/daemontest_large_put.c
@@ -153,7 +153,7 @@ testInternalPut ()
153 if (d == NULL) 153 if (d == NULL)
154 return 1; 154 return 1;
155 c = curl_easy_init (); 155 c = curl_easy_init ();
156 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1080/hello_world"); 156 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1080/hello_world");
157 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 157 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
158 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 158 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
159 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer); 159 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer);
@@ -211,7 +211,7 @@ testMultithreadedPut ()
211 if (d == NULL) 211 if (d == NULL)
212 return 16; 212 return 16;
213 c = curl_easy_init (); 213 c = curl_easy_init ();
214 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); 214 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1081/hello_world");
215 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 215 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
216 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 216 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
217 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer); 217 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer);
@@ -273,7 +273,7 @@ testMultithreadedPoolPut ()
273 if (d == NULL) 273 if (d == NULL)
274 return 16; 274 return 16;
275 c = curl_easy_init (); 275 c = curl_easy_init ();
276 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); 276 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1081/hello_world");
277 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 277 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
278 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 278 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
279 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer); 279 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer);
@@ -344,7 +344,7 @@ testExternalPut ()
344 if (d == NULL) 344 if (d == NULL)
345 return 256; 345 return 256;
346 c = curl_easy_init (); 346 c = curl_easy_init ();
347 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1082/hello_world"); 347 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1082/hello_world");
348 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 348 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
349 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 349 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
350 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer); 350 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer);