mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 02:51:37 +08:00
Add option for single connection web server. From Kate.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5157 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user