libmicrohttpd

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

commit c153aef67538846ca07dff460a4915efe0ec14ce
parent 8cdc89b9c3652d5ed899305bc93b10ddf04dbebc
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sun,  5 Dec 2021 20:23:49 +0300

test_iplimit: fixed MHD parameter format

Diffstat:
Msrc/testcurl/test_iplimit.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/testcurl/test_iplimit.c b/src/testcurl/test_iplimit.c @@ -135,7 +135,7 @@ testMultithreadedGet () d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, port, NULL, NULL, &ahc_echo, "GET", - MHD_OPTION_PER_IP_CONNECTION_LIMIT, 2, + MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 2, MHD_OPTION_END); if (d == NULL) return 16; @@ -246,7 +246,7 @@ testMultithreadedPoolGet () d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, port, NULL, NULL, &ahc_echo, "GET", - MHD_OPTION_PER_IP_CONNECTION_LIMIT, 2, + MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 2, MHD_OPTION_THREAD_POOL_SIZE, MHD_CPU_COUNT, MHD_OPTION_END); if (d == NULL)