diff options
Diffstat (limited to 'nuttx/netutils/thttpd/config.h')
-rw-r--r-- | nuttx/netutils/thttpd/config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nuttx/netutils/thttpd/config.h b/nuttx/netutils/thttpd/config.h index 63b76a06d..2fe70539a 100644 --- a/nuttx/netutils/thttpd/config.h +++ b/nuttx/netutils/thttpd/config.h @@ -131,10 +131,20 @@ # define CONFIG_THTTPD_CHARSET "iso-8859-1" # endif +/* Initial buffer size, buffer reallocation increment, maximum buffer size */ + # ifndef CONFIG_THTTPD_IOBUFFERSIZE # define CONFIG_THTTPD_IOBUFFERSIZE 256 # endif +# ifndef CONFIG_THTTPD_REALLOCINCR +# define CONFIG_THTTPD_REALLOCINCR 128 +# endif + +# ifndef CONFIG_THTTPD_MAXREALLOC +# define CONFIG_THTTPD_MAXREALLOC 4096 +# endif + # if CONFIG_THTTPD_IOBUFFERSIZE > 65535 # error "Can't use uint16 for buffer" # endif |