diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-08 00:37:29 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-08 01:00:00 +0300 |
commit | c39f9bfb2696e0b7c04c6f4b90ea0ab8b646e064 (patch) | |
tree | 4868e6b3bd73c991dc92a16c50b82f28a3a7d978 /src/testcurl/perf_get_concurrent.c | |
parent | fdf24fa69fb92db404db45f37563729947c9e380 (diff) | |
download | libmicrohttpd-c39f9bfb2696e0b7c04c6f4b90ea0ab8b646e064.tar.gz libmicrohttpd-c39f9bfb2696e0b7c04c6f4b90ea0ab8b646e064.zip |
Specify that flag MHD_USE_INTERNAL_POLLING_THREAD is mandatory if MHD_USE_THREAD_PER_CONNECTION is used
Diffstat (limited to 'src/testcurl/perf_get_concurrent.c')
-rw-r--r-- | src/testcurl/perf_get_concurrent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcurl/perf_get_concurrent.c b/src/testcurl/perf_get_concurrent.c index e2579fa6..7bc59b5c 100644 --- a/src/testcurl/perf_get_concurrent.c +++ b/src/testcurl/perf_get_concurrent.c | |||
@@ -262,7 +262,7 @@ testMultithreadedGet (int port, int poll_flag) | |||
262 | const char * const test_desc = poll_flag ? "thread with poll" : "thread with select"; | 262 | const char * const test_desc = poll_flag ? "thread with poll" : "thread with select"; |
263 | const char * ret_val; | 263 | const char * ret_val; |
264 | 264 | ||
265 | d = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG | poll_flag, | 265 | d = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_DEBUG | poll_flag, |
266 | port, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); | 266 | port, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); |
267 | if (d == NULL) | 267 | if (d == NULL) |
268 | return 16; | 268 | return 16; |