libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 6d522346279df691b52a654dc1d1b815feae58e2
parent 1b0c23c11965658cfead46eb014eda5d88b972cc
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu, 10 Nov 2016 16:23:41 +0300

perf_get: used same names as in perf_get_concurrent

Diffstat:
Msrc/testcurl/perf_get.c | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/testcurl/perf_get.c b/src/testcurl/perf_get.c @@ -226,8 +226,8 @@ testInternalGet (int port, int poll_flag) } curl_easy_cleanup (c); } - stop (poll_flag == MHD_USE_POLL ? "internal poll" : - poll_flag == MHD_USE_EPOLL ? "internal epoll" : "internal select"); + stop (poll_flag == MHD_USE_POLL ? "internal thread with poll()" : + poll_flag == MHD_USE_EPOLL ? "internal thread with epoll" : "internal thread with select()"); MHD_stop_daemon (d); if (cbc.pos != strlen ("/hello_world")) return 4; @@ -286,8 +286,9 @@ testMultithreadedGet (int port, int poll_flag) } curl_easy_cleanup (c); } - stop ((poll_flag & MHD_USE_POLL) ? "thread with poll" : - (poll_flag & MHD_USE_EPOLL) ? "thread with epoll" : "thread with select"); + stop ((poll_flag & MHD_USE_POLL) ? "internal thread with poll() and thread per connection" : + (poll_flag & MHD_USE_EPOLL) ? "internal thread with epoll and thread per connection" : + "internal thread with select() and thread per connection"); MHD_stop_daemon (d); if (cbc.pos != strlen ("/hello_world")) return 64; @@ -346,8 +347,8 @@ testMultithreadedPoolGet (int port, int poll_flag) } curl_easy_cleanup (c); } - stop (0 != (poll_flag & MHD_USE_POLL) ? "thread pool with poll" : - 0 != (poll_flag & MHD_USE_EPOLL) ? "thread pool with epoll" : "thread pool with select"); + stop (0 != (poll_flag & MHD_USE_POLL) ? "internal thread pool with poll()" : + 0 != (poll_flag & MHD_USE_EPOLL) ? "internal thread pool with epoll" : "internal thread pool with select()"); MHD_stop_daemon (d); if (cbc.pos != strlen ("/hello_world")) return 64;