aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/daemontest_put.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/daemontest_put.c')
-rw-r--r--src/testcurl/daemontest_put.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/daemontest_put.c b/src/testcurl/daemontest_put.c
index 1899e434..672790eb 100644
--- a/src/testcurl/daemontest_put.c
+++ b/src/testcurl/daemontest_put.c
@@ -130,7 +130,7 @@ testInternalPut ()
130 if (d == NULL) 130 if (d == NULL)
131 return 1; 131 return 1;
132 c = curl_easy_init (); 132 c = curl_easy_init ();
133 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1080/hello_world"); 133 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1080/hello_world");
134 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 134 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
135 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 135 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
136 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer); 136 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer);
@@ -186,7 +186,7 @@ testMultithreadedPut ()
186 if (d == NULL) 186 if (d == NULL)
187 return 16; 187 return 16;
188 c = curl_easy_init (); 188 c = curl_easy_init ();
189 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); 189 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1081/hello_world");
190 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 190 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
191 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 191 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
192 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer); 192 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer);
@@ -244,7 +244,7 @@ testMultithreadedPoolPut ()
244 if (d == NULL) 244 if (d == NULL)
245 return 16; 245 return 16;
246 c = curl_easy_init (); 246 c = curl_easy_init ();
247 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); 247 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1081/hello_world");
248 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 248 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
249 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 249 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
250 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer); 250 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer);
@@ -312,7 +312,7 @@ testExternalPut ()
312 if (d == NULL) 312 if (d == NULL)
313 return 256; 313 return 256;
314 c = curl_easy_init (); 314 c = curl_easy_init ();
315 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1082/hello_world"); 315 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1082/hello_world");
316 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 316 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
317 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 317 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
318 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer); 318 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer);