diff options
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 4603050a..61424ca5 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -48,6 +48,16 @@ | |||
48 | 48 | ||
49 | 49 | ||
50 | /** | 50 | /** |
51 | * Minimum size by which MHD tries to increment read/write buffers. | ||
52 | * We usually begin with half the available pool space for the | ||
53 | * IO-buffer, but if absolutely needed we additively grow by the | ||
54 | * number of bytes given here (up to -- theoretically -- the full pool | ||
55 | * space). | ||
56 | */ | ||
57 | #define MHD_BUF_INC_SIZE 1024 | ||
58 | |||
59 | |||
60 | /** | ||
51 | * Handler for fatal errors. | 61 | * Handler for fatal errors. |
52 | */ | 62 | */ |
53 | extern MHD_PanicCallback mhd_panic; | 63 | extern MHD_PanicCallback mhd_panic; |
@@ -1002,6 +1012,11 @@ struct MHD_Daemon | |||
1002 | size_t pool_size; | 1012 | size_t pool_size; |
1003 | 1013 | ||
1004 | /** | 1014 | /** |
1015 | * Increment for growth of the per-connection memory pools. | ||
1016 | */ | ||
1017 | size_t pool_increment; | ||
1018 | |||
1019 | /** | ||
1005 | * Size of threads created by MHD. | 1020 | * Size of threads created by MHD. |
1006 | */ | 1021 | */ |
1007 | size_t thread_stack_size; | 1022 | size_t thread_stack_size; |