commit a80d80604a85b0a3b85e8147c4844c4aeb925a9b
parent f7bae2ce3ea4c4ef4082a754a105982c84828698
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Mon, 19 Jun 2023 09:42:52 +0300
Adjusted buffer increase default step size
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
@@ -136,8 +136,10 @@
* IO-buffer, but if absolutely needed we additively grow by the
* number of bytes given here (up to -- theoretically -- the full pool
* space).
+ *
+ * Currently set to reasonable maximum MSS size.
*/
-#define MHD_BUF_INC_SIZE 1024
+#define MHD_BUF_INC_SIZE 1500
#ifndef MHD_STATICSTR_LEN_
/**