diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-17 19:44:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-17 19:44:53 +0000 |
commit | 14f445102e0b861845ccd53a5d6777a25bc75c7e (patch) | |
tree | dd687f869f194e1a85777221a8c8f0cd6b836205 /apps/netutils/webserver/Kconfig | |
parent | 040391cfab5aa7d508055ca12f551f5e5a3f924c (diff) | |
download | nuttx-14f445102e0b861845ccd53a5d6777a25bc75c7e.tar.gz nuttx-14f445102e0b861845ccd53a5d6777a25bc75c7e.tar.bz2 nuttx-14f445102e0b861845ccd53a5d6777a25bc75c7e.zip |
Add option for single connection web server. From Kate.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5157 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/netutils/webserver/Kconfig')
-rw-r--r-- | apps/netutils/webserver/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/netutils/webserver/Kconfig b/apps/netutils/webserver/Kconfig index 6afbda4b3..e64fcdb73 100644 --- a/apps/netutils/webserver/Kconfig +++ b/apps/netutils/webserver/Kconfig @@ -13,6 +13,18 @@ config NETUTILS_WEBSERVER if NETUTILS_WEBSERVER +config NETUTILS_HTTPD_SINGLETHREAD + bool "Single Threded" + default n if !DISABLE_PTHREAD + default y if DISABLE_PTHREAD + ---help--- + By default, the uIP web server will create a new, independent thread + for each connection. This can, however, use a lot of stack space + if there are many connections and that can be a problem is RAM is + limited. If this option is selected, then a single thread will + service all HTTP requests. TCP_BACKLOG would be a good idea + in this case. + config NETUTILS_HTTPD_SCRIPT_DISABLE bool "Disable %! scripting" default y if NETUTILS_HTTPD_SENDFILE |