aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_limits.h')
-rw-r--r--src/microhttpd/mhd_limits.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_limits.h b/src/microhttpd/mhd_limits.h
index 1b0f5d7d..41d33a8f 100644
--- a/src/microhttpd/mhd_limits.h
+++ b/src/microhttpd/mhd_limits.h
@@ -143,4 +143,12 @@
143#endif /* _WIN32 */ 143#endif /* _WIN32 */
144#endif /* !TIMEVAL_TV_SEC_MAX */ 144#endif /* !TIMEVAL_TV_SEC_MAX */
145 145
146#ifndef MHD_FD_BLOCK_SIZE
147#ifdef _WIN32
148#define MHD_FD_BLOCK_SIZE 16384 /* 16k */
149#else /* _WIN32 */
150#define MHD_FD_BLOCK_SIZE 4096 /* 4k */
151#endif /* _WIN32 */
152#endif /* !MHD_FD_BLOCK_SIZE */
153
146#endif /* MHD_LIMITS_H */ 154#endif /* MHD_LIMITS_H */