aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/daemontest_put_chunked.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/daemontest_put_chunked.c')
-rw-r--r--src/testcurl/daemontest_put_chunked.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/daemontest_put_chunked.c b/src/testcurl/daemontest_put_chunked.c
index 46c17330..fdd4cfc7 100644
--- a/src/testcurl/daemontest_put_chunked.c
+++ b/src/testcurl/daemontest_put_chunked.c
@@ -140,7 +140,7 @@ testInternalPut ()
140 if (d == NULL) 140 if (d == NULL)
141 return 1; 141 return 1;
142 c = curl_easy_init (); 142 c = curl_easy_init ();
143 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:11080/hello_world"); 143 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:11080/hello_world");
144 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 144 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
145 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 145 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
146 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer); 146 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer);
@@ -196,7 +196,7 @@ testMultithreadedPut ()
196 if (d == NULL) 196 if (d == NULL)
197 return 16; 197 return 16;
198 c = curl_easy_init (); 198 c = curl_easy_init ();
199 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:11081/hello_world"); 199 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:11081/hello_world");
200 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 200 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
201 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 201 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
202 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer); 202 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer);
@@ -254,7 +254,7 @@ testMultithreadedPoolPut ()
254 if (d == NULL) 254 if (d == NULL)
255 return 16; 255 return 16;
256 c = curl_easy_init (); 256 c = curl_easy_init ();
257 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:11081/hello_world"); 257 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:11081/hello_world");
258 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 258 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
259 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 259 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
260 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer); 260 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer);
@@ -322,7 +322,7 @@ testExternalPut ()
322 if (d == NULL) 322 if (d == NULL)
323 return 256; 323 return 256;
324 c = curl_easy_init (); 324 c = curl_easy_init ();
325 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:11082/hello_world"); 325 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:11082/hello_world");
326 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 326 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
327 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 327 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
328 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer); 328 curl_easy_setopt (c, CURLOPT_READFUNCTION, &putBuffer);