diff options
Diffstat (limited to 'src/testcurl/daemontest_postform.c')
-rw-r--r-- | src/testcurl/daemontest_postform.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/daemontest_postform.c b/src/testcurl/daemontest_postform.c index 545250ec..aa0ff17b 100644 --- a/src/testcurl/daemontest_postform.c +++ b/src/testcurl/daemontest_postform.c | |||
@@ -161,7 +161,7 @@ testInternalPost () | |||
161 | if (d == NULL) | 161 | if (d == NULL) |
162 | return 1; | 162 | return 1; |
163 | c = curl_easy_init (); | 163 | c = curl_easy_init (); |
164 | curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1080/hello_world"); | 164 | curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1080/hello_world"); |
165 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); | 165 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); |
166 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 166 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
167 | pd = make_form (); | 167 | pd = make_form (); |
@@ -215,7 +215,7 @@ testMultithreadedPost () | |||
215 | if (d == NULL) | 215 | if (d == NULL) |
216 | return 16; | 216 | return 16; |
217 | c = curl_easy_init (); | 217 | c = curl_easy_init (); |
218 | curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); | 218 | curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1081/hello_world"); |
219 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); | 219 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); |
220 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 220 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
221 | pd = make_form (); | 221 | pd = make_form (); |
@@ -270,7 +270,7 @@ testMultithreadedPoolPost () | |||
270 | if (d == NULL) | 270 | if (d == NULL) |
271 | return 16; | 271 | return 16; |
272 | c = curl_easy_init (); | 272 | c = curl_easy_init (); |
273 | curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); | 273 | curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1081/hello_world"); |
274 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); | 274 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); |
275 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 275 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
276 | pd = make_form (); | 276 | pd = make_form (); |
@@ -334,7 +334,7 @@ testExternalPost () | |||
334 | if (d == NULL) | 334 | if (d == NULL) |
335 | return 256; | 335 | return 256; |
336 | c = curl_easy_init (); | 336 | c = curl_easy_init (); |
337 | curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1082/hello_world"); | 337 | curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1082/hello_world"); |
338 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); | 338 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); |
339 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 339 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
340 | pd = make_form (); | 340 | pd = make_form (); |