mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
New awhttpd configuration
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@29 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
parent
e8ef4b4b84
commit
c4e8d530cf
@ -28,17 +28,10 @@ config CONFIG_HTTP_HTTPS_PORT
|
|||||||
|
|
||||||
You must be a root user in order to use the default port.
|
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
|
config CONFIG_HTTP_WEBROOT
|
||||||
string "Web root location"
|
string "Web root location"
|
||||||
default "../www" if !CONFIG_PLATFORM_WIN32
|
default "../www" if !CONFIG_PLATFORM_WIN32
|
||||||
default "..\\www" if CONFIG_PLATFORM_WIN32
|
default "..\\www" if CONFIG_PLATFORM_WIN32
|
||||||
depends on !CONFIG_STANDARD_AWHTTPD
|
|
||||||
help
|
help
|
||||||
The location of the web root in relation to awhttpd. This is
|
The location of the web root in relation to awhttpd. This is
|
||||||
the directory where index.html lives.
|
the directory where index.html lives.
|
||||||
@ -46,47 +39,20 @@ config CONFIG_HTTP_WEBROOT
|
|||||||
config CONFIG_HTTP_PORT
|
config CONFIG_HTTP_PORT
|
||||||
int "HTTP port"
|
int "HTTP port"
|
||||||
default 80
|
default 80
|
||||||
depends on !CONFIG_STANDARD_AWHTTPD
|
|
||||||
help
|
help
|
||||||
The port number of the normal HTTP server.
|
The port number of the normal HTTP server.
|
||||||
|
|
||||||
You must be a root user in order to use the default port.
|
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
|
config CONFIG_HTTP_TIMEOUT
|
||||||
int "Timeout"
|
int "Timeout"
|
||||||
default 5
|
default 5
|
||||||
depends on CONFIG_HTTP_USE_TIMEOUT
|
|
||||||
help
|
help
|
||||||
Set the timeout in seconds.
|
Set the timeout of a connection 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
|
config CONFIG_HTTP_HAS_CGI
|
||||||
bool "Enable CGI"
|
bool "Enable CGI"
|
||||||
default n
|
default n
|
||||||
depends on !CONFIG_STANDARD_AWHTTPD
|
|
||||||
help
|
help
|
||||||
Enable the CGI capability.
|
Enable the CGI capability.
|
||||||
|
|
||||||
@ -100,14 +66,12 @@ config CONFIG_HTTP_CGI_EXTENSION
|
|||||||
config CONFIG_HTTP_DIRECTORIES
|
config CONFIG_HTTP_DIRECTORIES
|
||||||
bool "Enable Directory Listing"
|
bool "Enable Directory Listing"
|
||||||
default n
|
default n
|
||||||
depends on !CONFIG_STANDARD_AWHTTPD
|
|
||||||
help
|
help
|
||||||
Enable directory listing.
|
Enable directory listing.
|
||||||
|
|
||||||
config CONFIG_HTTP_PERM_CHECK
|
config CONFIG_HTTP_PERM_CHECK
|
||||||
bool "Permissions Check"
|
bool "Permissions Check"
|
||||||
default n
|
default n
|
||||||
depends on !CONFIG_STANDARD_AWHTTPD
|
|
||||||
help
|
help
|
||||||
Enable permissions checking on the directories before reading the
|
Enable permissions checking on the directories before reading the
|
||||||
files in them.
|
files in them.
|
||||||
@ -115,7 +79,7 @@ config CONFIG_HTTP_PERM_CHECK
|
|||||||
config CONFIG_HTTP_HAS_IPV6
|
config CONFIG_HTTP_HAS_IPV6
|
||||||
bool "Enable IPv6"
|
bool "Enable IPv6"
|
||||||
default n
|
default n
|
||||||
depends on !CONFIG_STANDARD_AWHTTPD && !CONFIG_PLATFORM_WIN32
|
depends on !CONFIG_PLATFORM_WIN32
|
||||||
help
|
help
|
||||||
Use IPv6 instead of IPv4.
|
Use IPv6 instead of IPv4.
|
||||||
|
|
||||||
@ -125,14 +89,13 @@ config CONFIG_HTTP_VERBOSE
|
|||||||
bool "Verbose Mode"
|
bool "Verbose Mode"
|
||||||
default y if CONFIG_SSL_FULL_MODE
|
default y if CONFIG_SSL_FULL_MODE
|
||||||
default n if !CONFIG_SSL_FULL_MODE
|
default n if !CONFIG_SSL_FULL_MODE
|
||||||
depends on !CONFIG_STANDARD_AWHTTPD
|
|
||||||
help
|
help
|
||||||
Enable extra statements used when using awhttpd.
|
Enable extra statements used when using awhttpd.
|
||||||
|
|
||||||
config CONFIG_HTTP_IS_DAEMON
|
config CONFIG_HTTP_IS_DAEMON
|
||||||
bool "Run as a daemon"
|
bool "Run as a daemon"
|
||||||
default n
|
default n
|
||||||
depends on !CONFIG_STANDARD_AWHTTPD && !CONFIG_PLATFORM_WIN32
|
depends on !CONFIG_PLATFORM_WIN32
|
||||||
help
|
help
|
||||||
Run awhttpd as a background process.
|
Run awhttpd as a background process.
|
||||||
|
|
||||||
|
@ -72,8 +72,7 @@ OBJ= \
|
|||||||
mime_types.o \
|
mime_types.o \
|
||||||
index.o \
|
index.o \
|
||||||
urlencode.o \
|
urlencode.o \
|
||||||
permcheck.o \
|
permcheck.o
|
||||||
conf.o
|
|
||||||
|
|
||||||
%.o : awhttpd/%.c ../config/.config
|
%.o : awhttpd/%.c ../config/.config
|
||||||
$(CC) -c $(CFLAGS) $<
|
$(CC) -c $(CFLAGS) $<
|
||||||
|
1232
httpd/awhttpd.patch
1232
httpd/awhttpd.patch
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user