summaryrefslogtreecommitdiff
path: root/apps/netutils/webserver/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-17 23:02:58 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-17 23:02:58 +0000
commit68e8befbc94818cc60bbfd4fb3f8f556e76ecba2 (patch)
tree73190e5163186ab1028a6b26ef5b3794bc6910ba /apps/netutils/webserver/Kconfig
parent14f445102e0b861845ccd53a5d6777a25bc75c7e (diff)
downloadnuttx-68e8befbc94818cc60bbfd4fb3f8f556e76ecba2.tar.gz
nuttx-68e8befbc94818cc60bbfd4fb3f8f556e76ecba2.tar.bz2
nuttx-68e8befbc94818cc60bbfd4fb3f8f556e76ecba2.zip
Fix ENC28J60 Tx transmit (still a receive problem); Add HTTP 408 logic from Kate
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5158 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/netutils/webserver/Kconfig')
-rw-r--r--apps/netutils/webserver/Kconfig18
1 files changed, 13 insertions, 5 deletions
diff --git a/apps/netutils/webserver/Kconfig b/apps/netutils/webserver/Kconfig
index e64fcdb73..b4c76a33f 100644
--- a/apps/netutils/webserver/Kconfig
+++ b/apps/netutils/webserver/Kconfig
@@ -13,8 +13,8 @@ config NETUTILS_WEBSERVER
if NETUTILS_WEBSERVER
-config NETUTILS_HTTPD_SINGLETHREAD
- bool "Single Threded"
+config NETUTILS_HTTPD_SINGLECONNECT
+ bool "Single Connection"
default n if !DISABLE_PTHREAD
default y if DISABLE_PTHREAD
---help---
@@ -22,9 +22,9 @@ config NETUTILS_HTTPD_SINGLETHREAD
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.
-
+ service all HTTP requests and, in this case, only a single connection
+ at a time is supported at a time.
+
config NETUTILS_HTTPD_SCRIPT_DISABLE
bool "Disable %! scripting"
default y if NETUTILS_HTTPD_SENDFILE
@@ -65,6 +65,14 @@ config NETUTILS_HTTPD_SERVERHEADER_DISABLE
---help---
This option, if selected, will elide the Server\: header
+config NETUTILS_HTTPD_TIMEOUT
+ int "Receive Timeout (sec)"
+ default 0
+ ---help---
+ Receive timeout setting (in seconds). A timeout value of zero
+ disables the timeout. An HTTP 408 error is generated if the timeout
+ expires.
+
choice
prompt "File Transfer Method"
default NETUTILS_HTTPD_CLASSIC