Fix ENC28J60 Tx transmit (still a receive problem); Add HTTP 408 logic from Kate

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5158 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-09-17 23:02:58 +00:00
parent 77b8e554f8
commit c3c602f93e
7 changed files with 177 additions and 29 deletions
+13 -5
View File
@@ -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