summaryrefslogtreecommitdiff
path: root/apps/netutils/webserver/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'apps/netutils/webserver/Kconfig')
-rw-r--r--apps/netutils/webserver/Kconfig12
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