summaryrefslogtreecommitdiff
path: root/nuttx/netutils/thttpd/config.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-08-02 23:35:27 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-08-02 23:35:27 +0000
commit1169a1c394fac06c2c922cdd65afd9b00ce5afce (patch)
tree4f8aba554a72c335c47fda18723012ad492daa0c /nuttx/netutils/thttpd/config.h
parent287259e702344f08c101996a47349e049bc7af27 (diff)
downloadpx4-nuttx-1169a1c394fac06c2c922cdd65afd9b00ce5afce.tar.gz
px4-nuttx-1169a1c394fac06c2c922cdd65afd9b00ce5afce.tar.bz2
px4-nuttx-1169a1c394fac06c2c922cdd65afd9b00ce5afce.zip
accept() now supports non-blocking operations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2011 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/thttpd/config.h')
-rw-r--r--nuttx/netutils/thttpd/config.h10
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