From 1169a1c394fac06c2c922cdd65afd9b00ce5afce Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 2 Aug 2009 23:35:27 +0000 Subject: accept() now supports non-blocking operations git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2011 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/netutils/thttpd/config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'nuttx/netutils/thttpd/config.h') 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 -- cgit v1.2.3