aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/perf_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/perf_get.c')
-rw-r--r--src/testcurl/perf_get.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/perf_get.c b/src/testcurl/perf_get.c
index 31dd1177..de980e53 100644
--- a/src/testcurl/perf_get.c
+++ b/src/testcurl/perf_get.c
@@ -181,7 +181,7 @@ testInternalGet (int port, int poll_flag)
181 unsigned int i; 181 unsigned int i;
182 char url[64]; 182 char url[64];
183 183
184 sprintf(url, "http://localhost:%d/hello_world", port); 184 sprintf(url, "http://127.0.0.1:%d/hello_world", port);
185 185
186 cbc.buf = buf; 186 cbc.buf = buf;
187 cbc.size = 2048; 187 cbc.size = 2048;
@@ -240,7 +240,7 @@ testMultithreadedGet (int port, int poll_flag)
240 unsigned int i; 240 unsigned int i;
241 char url[64]; 241 char url[64];
242 242
243 sprintf(url, "http://localhost:%d/hello_world", port); 243 sprintf(url, "http://127.0.0.1:%d/hello_world", port);
244 244
245 cbc.buf = buf; 245 cbc.buf = buf;
246 cbc.size = 2048; 246 cbc.size = 2048;
@@ -298,7 +298,7 @@ testMultithreadedPoolGet (int port, int poll_flag)
298 unsigned int i; 298 unsigned int i;
299 char url[64]; 299 char url[64];
300 300
301 sprintf(url, "http://localhost:%d/hello_world", port); 301 sprintf(url, "http://127.0.0.1:%d/hello_world", port);
302 302
303 cbc.buf = buf; 303 cbc.buf = buf;
304 cbc.size = 2048; 304 cbc.size = 2048;
@@ -366,7 +366,7 @@ testExternalGet (int port)
366 unsigned int i; 366 unsigned int i;
367 char url[64]; 367 char url[64];
368 368
369 sprintf(url, "http://localhost:%d/hello_world", port); 369 sprintf(url, "http://127.0.0.1:%d/hello_world", port);
370 370
371 multi = NULL; 371 multi = NULL;
372 cbc.buf = buf; 372 cbc.buf = buf;