diff options
Diffstat (limited to 'src/testcurl/perf_get.c')
-rw-r--r-- | src/testcurl/perf_get.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/testcurl/perf_get.c b/src/testcurl/perf_get.c index d8d12876..3da5f605 100644 --- a/src/testcurl/perf_get.c +++ b/src/testcurl/perf_get.c | |||
@@ -226,8 +226,8 @@ testInternalGet (int port, int poll_flag) | |||
226 | } | 226 | } |
227 | curl_easy_cleanup (c); | 227 | curl_easy_cleanup (c); |
228 | } | 228 | } |
229 | stop (poll_flag == MHD_USE_POLL ? "internal poll" : | 229 | stop (poll_flag == MHD_USE_POLL ? "internal thread with poll()" : |
230 | poll_flag == MHD_USE_EPOLL ? "internal epoll" : "internal select"); | 230 | poll_flag == MHD_USE_EPOLL ? "internal thread with epoll" : "internal thread with select()"); |
231 | MHD_stop_daemon (d); | 231 | MHD_stop_daemon (d); |
232 | if (cbc.pos != strlen ("/hello_world")) | 232 | if (cbc.pos != strlen ("/hello_world")) |
233 | return 4; | 233 | return 4; |
@@ -286,8 +286,9 @@ testMultithreadedGet (int port, int poll_flag) | |||
286 | } | 286 | } |
287 | curl_easy_cleanup (c); | 287 | curl_easy_cleanup (c); |
288 | } | 288 | } |
289 | stop ((poll_flag & MHD_USE_POLL) ? "thread with poll" : | 289 | stop ((poll_flag & MHD_USE_POLL) ? "internal thread with poll() and thread per connection" : |
290 | (poll_flag & MHD_USE_EPOLL) ? "thread with epoll" : "thread with select"); | 290 | (poll_flag & MHD_USE_EPOLL) ? "internal thread with epoll and thread per connection" : |
291 | "internal thread with select() and thread per connection"); | ||
291 | MHD_stop_daemon (d); | 292 | MHD_stop_daemon (d); |
292 | if (cbc.pos != strlen ("/hello_world")) | 293 | if (cbc.pos != strlen ("/hello_world")) |
293 | return 64; | 294 | return 64; |
@@ -346,8 +347,8 @@ testMultithreadedPoolGet (int port, int poll_flag) | |||
346 | } | 347 | } |
347 | curl_easy_cleanup (c); | 348 | curl_easy_cleanup (c); |
348 | } | 349 | } |
349 | stop (0 != (poll_flag & MHD_USE_POLL) ? "thread pool with poll" : | 350 | stop (0 != (poll_flag & MHD_USE_POLL) ? "internal thread pool with poll()" : |
350 | 0 != (poll_flag & MHD_USE_EPOLL) ? "thread pool with epoll" : "thread pool with select"); | 351 | 0 != (poll_flag & MHD_USE_EPOLL) ? "internal thread pool with epoll" : "internal thread pool with select()"); |
351 | MHD_stop_daemon (d); | 352 | MHD_stop_daemon (d); |
352 | if (cbc.pos != strlen ("/hello_world")) | 353 | if (cbc.pos != strlen ("/hello_world")) |
353 | return 64; | 354 | return 64; |