aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-06-13 00:51:49 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-06-13 01:01:33 +0300
commit739d5528c886d688a08778eb5b9e46087d230986 (patch)
tree42ef91fa318b8f8b0a2f45105c73d0f0c2c33c3f
parenta0b48ac77d2b5c7aa82c99f8524de9b3a5e07d76 (diff)
downloadlibmicrohttpd-739d5528c886d688a08778eb5b9e46087d230986.tar.gz
libmicrohttpd-739d5528c886d688a08778eb5b9e46087d230986.zip
test_large_put: test memory realloc too
-rw-r--r--src/testcurl/test_large_put.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcurl/test_large_put.c b/src/testcurl/test_large_put.c
index 352a1732..4495cfd6 100644
--- a/src/testcurl/test_large_put.c
+++ b/src/testcurl/test_large_put.c
@@ -202,7 +202,7 @@ testPutInternalThread (unsigned int add_flag)
202 d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG | add_flag, 202 d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG | add_flag,
203 port, 203 port,
204 NULL, NULL, &ahc_echo, &done_flag, 204 NULL, NULL, &ahc_echo, &done_flag,
205 MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t)(incr_read ? 1024 : (PUT_SIZE * 4)), 205 MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t)(incr_read ? 1024 : (PUT_SIZE * 4 / 3)),
206 MHD_OPTION_END); 206 MHD_OPTION_END);
207 if (d == NULL) 207 if (d == NULL)
208 return 1; 208 return 1;