summaryrefslogtreecommitdiff
path: root/nuttx/netutils/thttpd/config.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-09-15 19:48:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-09-15 19:48:13 +0000
commitfdc11d13043299e79dcd88c4269a2f56f2e565d9 (patch)
tree8f40228885950a06e103dd33b2e8625f1b7611c1 /nuttx/netutils/thttpd/config.h
parent24dc19ee6caa08a5c67b4cfa519632b3ec17c085 (diff)
downloadpx4-nuttx-fdc11d13043299e79dcd88c4269a2f56f2e565d9.tar.gz
px4-nuttx-fdc11d13043299e79dcd88c4269a2f56f2e565d9.tar.bz2
px4-nuttx-fdc11d13043299e79dcd88c4269a2f56f2e565d9.zip
CGI needs to copy httpd_conn because it is volatile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2058 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/thttpd/config.h')
-rw-r--r--nuttx/netutils/thttpd/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/netutils/thttpd/config.h b/nuttx/netutils/thttpd/config.h
index 213a1fa2c..dbbddaec2 100644
--- a/nuttx/netutils/thttpd/config.h
+++ b/nuttx/netutils/thttpd/config.h
@@ -156,6 +156,14 @@
# define CONFIG_THTTPD_MAXREALLOC 4096
# endif
+# ifndef CONFIG_THTTPD_CGIINBUFFERSIZE
+# define CONFIG_THTTPD_CGIINBUFFERSIZE 512 /* Size of buffer to interpose input */
+# endif
+
+# ifndef CONFIG_THTTPD_CGIOUTBUFFERSIZE
+# define CONFIG_THTTPD_CGIOUTBUFFERSIZE 512 /* Size of buffer to interpose output */
+# endif
+
# if CONFIG_THTTPD_IOBUFFERSIZE > 65535
# error "Can't use uint16 for buffer size"
# endif