aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/daemontest_get_response_cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/daemontest_get_response_cleanup.c')
-rw-r--r--src/testcurl/daemontest_get_response_cleanup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testcurl/daemontest_get_response_cleanup.c b/src/testcurl/daemontest_get_response_cleanup.c
index d2e52e9d..e0d1a0dc 100644
--- a/src/testcurl/daemontest_get_response_cleanup.c
+++ b/src/testcurl/daemontest_get_response_cleanup.c
@@ -140,7 +140,7 @@ testInternalGet ()
140 11080, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); 140 11080, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END);
141 if (d == NULL) 141 if (d == NULL)
142 return 1; 142 return 1;
143 curl = fork_curl ("http://localhost:11080/"); 143 curl = fork_curl ("http://127.0.0.1:11080/");
144 sleep (1); 144 sleep (1);
145 kill_curl (curl); 145 kill_curl (curl);
146 sleep (1); 146 sleep (1);
@@ -165,11 +165,11 @@ testMultithreadedGet ()
165 return 16; 165 return 16;
166 ok = 1; 166 ok = 1;
167 //fprintf (stderr, "Forking cURL!\n"); 167 //fprintf (stderr, "Forking cURL!\n");
168 curl = fork_curl ("http://localhost:1081/"); 168 curl = fork_curl ("http://127.0.0.1:1081/");
169 sleep (1); 169 sleep (1);
170 kill_curl (curl); 170 kill_curl (curl);
171 sleep (1); 171 sleep (1);
172 curl = fork_curl ("http://localhost:1081/"); 172 curl = fork_curl ("http://127.0.0.1:1081/");
173 sleep (1); 173 sleep (1);
174 if (ok != 0) 174 if (ok != 0)
175 { 175 {
@@ -199,7 +199,7 @@ testMultithreadedPoolGet ()
199 if (d == NULL) 199 if (d == NULL)
200 return 64; 200 return 64;
201 ok = 1; 201 ok = 1;
202 curl = fork_curl ("http://localhost:1081/"); 202 curl = fork_curl ("http://127.0.0.1:1081/");
203 sleep (1); 203 sleep (1);
204 kill_curl (curl); 204 kill_curl (curl);
205 sleep (1); 205 sleep (1);
@@ -226,7 +226,7 @@ testExternalGet ()
226 1082, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); 226 1082, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END);
227 if (d == NULL) 227 if (d == NULL)
228 return 256; 228 return 256;
229 curl = fork_curl ("http://localhost:1082/"); 229 curl = fork_curl ("http://127.0.0.1:1082/");
230 230
231 start = time (NULL); 231 start = time (NULL);
232 while ((time (NULL) - start < 2)) 232 while ((time (NULL) - start < 2))