aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_get_chunked.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-08 19:41:28 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-08 19:41:28 +0300
commitd5245634c224c7169634ce4c34e800447f426c87 (patch)
tree73a40428811ab644687dd5fe35aac03df8b52ac2 /src/testcurl/test_get_chunked.c
parent2636c2090dc7bfceda3cc3541d6ef2133e18de5d (diff)
downloadlibmicrohttpd-d5245634c224c7169634ce4c34e800447f426c87.tar.gz
libmicrohttpd-d5245634c224c7169634ce4c34e800447f426c87.zip
Added MHD_USE_ERROR_LOG flag with same value as MHD_USE_DEBUG.
New name better explains flag actions.
Diffstat (limited to 'src/testcurl/test_get_chunked.c')
-rw-r--r--src/testcurl/test_get_chunked.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/test_get_chunked.c b/src/testcurl/test_get_chunked.c
index 896adf05..9fb94626 100644
--- a/src/testcurl/test_get_chunked.c
+++ b/src/testcurl/test_get_chunked.c
@@ -164,7 +164,7 @@ testInternalGet ()
164 cbc.buf = buf; 164 cbc.buf = buf;
165 cbc.size = 2048; 165 cbc.size = 2048;
166 cbc.pos = 0; 166 cbc.pos = 0;
167 d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_DEBUG, 167 d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG,
168 1080, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); 168 1080, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END);
169 if (d == NULL) 169 if (d == NULL)
170 return 1; 170 return 1;
@@ -206,7 +206,7 @@ testMultithreadedGet ()
206 cbc.buf = buf; 206 cbc.buf = buf;
207 cbc.size = 2048; 207 cbc.size = 2048;
208 cbc.pos = 0; 208 cbc.pos = 0;
209 d = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_DEBUG, 209 d = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG,
210 1081, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); 210 1081, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END);
211 if (d == NULL) 211 if (d == NULL)
212 return 16; 212 return 16;
@@ -248,7 +248,7 @@ testMultithreadedPoolGet ()
248 cbc.buf = buf; 248 cbc.buf = buf;
249 cbc.size = 2048; 249 cbc.size = 2048;
250 cbc.pos = 0; 250 cbc.pos = 0;
251 d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_DEBUG, 251 d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG,
252 1081, NULL, NULL, &ahc_echo, "GET", 252 1081, NULL, NULL, &ahc_echo, "GET",
253 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); 253 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END);
254 if (d == NULL) 254 if (d == NULL)
@@ -306,7 +306,7 @@ testExternalGet ()
306 cbc.buf = buf; 306 cbc.buf = buf;
307 cbc.size = 2048; 307 cbc.size = 2048;
308 cbc.pos = 0; 308 cbc.pos = 0;
309 d = MHD_start_daemon (MHD_USE_DEBUG, 309 d = MHD_start_daemon (MHD_USE_ERROR_LOG,
310 1082, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); 310 1082, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END);
311 if (d == NULL) 311 if (d == NULL)
312 return 256; 312 return 256;