diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-06-19 09:42:52 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-06-20 23:22:57 +0300 |
commit | a80d80604a85b0a3b85e8147c4844c4aeb925a9b (patch) | |
tree | 8a8cf8475c65cd5a19a2196800c9fea0bdc8131b /src/microhttpd/internal.h | |
parent | f7bae2ce3ea4c4ef4082a754a105982c84828698 (diff) | |
download | libmicrohttpd-a80d80604a85b0a3b85e8147c4844c4aeb925a9b.tar.gz libmicrohttpd-a80d80604a85b0a3b85e8147c4844c4aeb925a9b.zip |
Adjusted buffer increase default step size
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
136 | * IO-buffer, but if absolutely needed we additively grow by the | 136 | * IO-buffer, but if absolutely needed we additively grow by the |
137 | * number of bytes given here (up to -- theoretically -- the full pool | 137 | * number of bytes given here (up to -- theoretically -- the full pool |
138 | * space). | 138 | * space). |
139 | * | ||
140 | * Currently set to reasonable maximum MSS size. | ||
139 | */ | 141 | */ |
140 | #define MHD_BUF_INC_SIZE 1024 | 142 | #define MHD_BUF_INC_SIZE 1500 |
141 | 143 | ||
142 | #ifndef MHD_STATICSTR_LEN_ | 144 | #ifndef MHD_STATICSTR_LEN_ |
143 | /** | 145 | /** |