libmicrohttpd

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

commit 739d5528c886d688a08778eb5b9e46087d230986
parent a0b48ac77d2b5c7aa82c99f8524de9b3a5e07d76
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu, 13 Jun 2019 00:51:49 +0300

test_large_put: test memory realloc too

Diffstat:
Msrc/testcurl/test_large_put.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/testcurl/test_large_put.c b/src/testcurl/test_large_put.c @@ -202,7 +202,7 @@ testPutInternalThread (unsigned int add_flag) d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG | add_flag, port, NULL, NULL, &ahc_echo, &done_flag, - MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t)(incr_read ? 1024 : (PUT_SIZE * 4)), + MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t)(incr_read ? 1024 : (PUT_SIZE * 4 / 3)), MHD_OPTION_END); if (d == NULL) return 1;