summaryrefslogtreecommitdiff
path: root/nuttx/netutils/thttpd/config.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-07-12 18:46:11 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-07-12 18:46:11 +0000
commitad855c503fab41c8943a94c5c4dfafc25019491b (patch)
tree1c76088cc0b39174dfa216b9863af911ab5515c9 /nuttx/netutils/thttpd/config.h
parent5b17ece930357c52595d264f30a6ff87561df443 (diff)
downloadpx4-nuttx-ad855c503fab41c8943a94c5c4dfafc25019491b.tar.gz
px4-nuttx-ad855c503fab41c8943a94c5c4dfafc25019491b.tar.bz2
px4-nuttx-ad855c503fab41c8943a94c5c4dfafc25019491b.zip
libthttpd.c now longer used fork() and execve()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1980 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/thttpd/config.h')
-rw-r--r--nuttx/netutils/thttpd/config.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/nuttx/netutils/thttpd/config.h b/nuttx/netutils/thttpd/config.h
index 9b61f4d9b..241f67940 100644
--- a/nuttx/netutils/thttpd/config.h
+++ b/nuttx/netutils/thttpd/config.h
@@ -43,7 +43,8 @@
/* Make sure that the system is configured to handle THTTPD */
#undef CONFIG_THTTPD
-#if defined(CONFIG_NET) && defined(CONFIG_NET_TCP) && defined(CONFIG_NET_TCPBACKLOG)
+#if defined(CONFIG_NET) && defined(CONFIG_NET_TCP) && \
+ defined(CONFIG_NET_TCPBACKLOG) && !defined(CONFIG_DISABLE_ENVIRONMENT)
# define CONFIG_THTTPD
#else
# warning "THTTPD not built because dependenciesnot selected in configuration"
@@ -96,6 +97,16 @@
# define CONFIG_THTTPD_CGI_PATTERN "/cgi-bin/*"
#endif
+/* These provide the priority and stack size of the CGI child tasks */
+
+#ifndef CONFIG_THTTPD_CGI_PRIORITY
+# define CONFIG_THTTPD_CGI_PRIORITY 50
+#endif
+
+#ifndef CONFIG_THTTPD_CGI_STACKSIZE
+# define CONFIG_THTTPD_CGI_STACKSIZE 2048
+#endif
+
/* Byte output limit for CGI tasks */
#ifndef CONFIG_THTTPD_CGI_BYTECOUNT