diff options
Diffstat (limited to 'src/testcurl/daemontest_put.c')
-rw-r--r-- | src/testcurl/daemontest_put.c | 8 |
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, ©Buffer); | 134 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); |
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, ©Buffer); | 190 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); |
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, ©Buffer); | 248 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); |
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, ©Buffer); | 316 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); |
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); |