mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-31 22:22:34 +03:00
Initial 1.0.0
git-svn-id: svn://svn.code.sf.net/p/axtls/code/axTLS@2 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
141
httpd/Config.in
Normal file
141
httpd/Config.in
Normal file
@@ -0,0 +1,141 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see scripts/config/Kconfig-language.txt
|
||||
#
|
||||
|
||||
menu "Awhttpd Configuration"
|
||||
depends on CONFIG_AWHTTPD
|
||||
|
||||
config CONFIG_HTTP_STATIC_BUILD
|
||||
bool "Static Build"
|
||||
default n
|
||||
help
|
||||
Select y if you want awhttp to be a static build (i.e. don't use the
|
||||
axtls shared library or dll).
|
||||
|
||||
config CONFIG_HTTP_HAS_SSL
|
||||
bool "Use SSL"
|
||||
default y
|
||||
help
|
||||
Build the HTTP server with SSL capability
|
||||
|
||||
config CONFIG_HTTP_HTTPS_PORT
|
||||
int "HTTPS port"
|
||||
default 443
|
||||
depends on CONFIG_HTTP_HAS_SSL
|
||||
help
|
||||
The port number of the HTTPS server.
|
||||
|
||||
You must be a root user in order to use the default port.
|
||||
|
||||
config CONFIG_STANDARD_AWHTTPD
|
||||
bool "Use Standard AWHTTPD Configuration"
|
||||
default n
|
||||
help
|
||||
Use the configuration file that awhttpd normally uses.
|
||||
|
||||
config CONFIG_HTTP_WEBROOT
|
||||
string "Web root location"
|
||||
default "www"
|
||||
depends on !CONFIG_STANDARD_AWHTTPD
|
||||
help
|
||||
The location of the web root. This is the directory where
|
||||
index.html lives.
|
||||
|
||||
config CONFIG_HTTP_PORT
|
||||
int "HTTP port"
|
||||
default 80
|
||||
depends on !CONFIG_STANDARD_AWHTTPD
|
||||
help
|
||||
The port number of the normal HTTP server.
|
||||
|
||||
You must be a root user in order to use the default port.
|
||||
|
||||
config CONFIG_HTTP_USE_TIMEOUT
|
||||
bool "Use Timeout"
|
||||
default n
|
||||
depends on !CONFIG_STANDARD_AWHTTPD
|
||||
help
|
||||
Enable timeouts to be used.
|
||||
|
||||
config CONFIG_HTTP_TIMEOUT
|
||||
int "Timeout"
|
||||
default 5
|
||||
depends on CONFIG_HTTP_USE_TIMEOUT
|
||||
help
|
||||
Set the timeout in seconds.
|
||||
|
||||
config CONFIG_HTTP_INITIAL_SLOTS
|
||||
int "Initial Slots"
|
||||
default 10
|
||||
depends on !CONFIG_STANDARD_AWHTTPD
|
||||
help
|
||||
Determine the number of slots.
|
||||
|
||||
This is just an initial value to allocate memory. This will go all the
|
||||
way up to max usrs.
|
||||
|
||||
config CONFIG_HTTP_MAX_USERS
|
||||
int "Max Users"
|
||||
default 100
|
||||
depends on !CONFIG_STANDARD_AWHTTPD
|
||||
help
|
||||
Determine the maximum number of simultaneous users at any time
|
||||
|
||||
config CONFIG_HTTP_HAS_CGI
|
||||
bool "Enable CGI"
|
||||
default n
|
||||
depends on !CONFIG_STANDARD_AWHTTPD
|
||||
help
|
||||
Enable the CGI capability.
|
||||
|
||||
config CONFIG_HTTP_CGI_EXTENSION
|
||||
string "CGI File Extension"
|
||||
default ".php"
|
||||
depends on CONFIG_HTTP_HAS_CGI
|
||||
help
|
||||
Tell awhhtp what file extension is used for CGI
|
||||
|
||||
config CONFIG_HTTP_DIRECTORIES
|
||||
bool "Enable Directory Listing"
|
||||
default n
|
||||
depends on !CONFIG_STANDARD_AWHTTPD
|
||||
help
|
||||
Enable directory listing.
|
||||
|
||||
config CONFIG_HTTP_PERM_CHECK
|
||||
bool "Permissions Check"
|
||||
default n
|
||||
depends on !CONFIG_STANDARD_AWHTTPD
|
||||
help
|
||||
Enable permissions checking on the directories before reading the
|
||||
files in them.
|
||||
|
||||
config CONFIG_HTTP_HAS_IPV6
|
||||
bool "Enable IPv6"
|
||||
default n
|
||||
depends on !CONFIG_STANDARD_AWHTTPD && !CONFIG_PLATFORM_WIN32
|
||||
help
|
||||
Use IPv6 instead of IPv4.
|
||||
|
||||
Does not work under Win32
|
||||
|
||||
config CONFIG_HTTP_VERBOSE
|
||||
bool "Verbose Mode"
|
||||
default y if CONFIG_SSL_FULL_MODE
|
||||
default n if !CONFIG_SSL_FULL_MODE
|
||||
depends on !CONFIG_STANDARD_AWHTTPD
|
||||
help
|
||||
Enable extra statements used when using awhttpd.
|
||||
|
||||
config CONFIG_HTTP_IS_DAEMON
|
||||
bool "Run as a daemon"
|
||||
default n
|
||||
depends on !CONFIG_STANDARD_AWHTTPD && !CONFIG_PLATFORM_WIN32
|
||||
help
|
||||
Run awhttpd as a background process.
|
||||
|
||||
Does not work under Win32
|
||||
|
||||
endmenu
|
||||
|
Reference in New Issue
Block a user