From a80d80604a85b0a3b85e8147c4844c4aeb925a9b Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 19 Jun 2023 09:42:52 +0300 Subject: Adjusted buffer increase default step size --- src/microhttpd/internal.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/microhttpd/internal.h') diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 909e24d4..6d6f944d 100644 --- 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_ /** -- cgit v1.2.3