mirror of
https://github.com/cesanta/mongoose.git
synced 2025-06-16 23:30:39 +08:00
Sorted options list alphabetically
This commit is contained in:
parent
4d0a2db658
commit
941500f967
@ -411,10 +411,9 @@ struct socket {
|
|||||||
// NOTE(lsm): this enum shoulds be in sync with the config_options below.
|
// NOTE(lsm): this enum shoulds be in sync with the config_options below.
|
||||||
enum {
|
enum {
|
||||||
CGI_EXTENSIONS, CGI_ENVIRONMENT, PUT_DELETE_PASSWORDS_FILE, CGI_INTERPRETER,
|
CGI_EXTENSIONS, CGI_ENVIRONMENT, PUT_DELETE_PASSWORDS_FILE, CGI_INTERPRETER,
|
||||||
PROTECT_URI, AUTHENTICATION_DOMAIN, SSI_EXTENSIONS, ACCESS_LOG_FILE,
|
MAX_REQUEST_SIZE, PROTECT_URI, AUTHENTICATION_DOMAIN, SSI_EXTENSIONS,
|
||||||
SSL_CHAIN_FILE, ENABLE_DIRECTORY_LISTING, ERROR_LOG_FILE,
|
ACCESS_LOG_FILE, SSL_CHAIN_FILE, ENABLE_DIRECTORY_LISTING, ERROR_LOG_FILE,
|
||||||
GLOBAL_PASSWORDS_FILE, INDEX_FILES,
|
GLOBAL_PASSWORDS_FILE, INDEX_FILES, ENABLE_KEEP_ALIVE, ACCESS_CONTROL_LIST,
|
||||||
ENABLE_KEEP_ALIVE, ACCESS_CONTROL_LIST, MAX_REQUEST_SIZE,
|
|
||||||
EXTRA_MIME_TYPES, LISTENING_PORTS, DOCUMENT_ROOT, SSL_CERTIFICATE,
|
EXTRA_MIME_TYPES, LISTENING_PORTS, DOCUMENT_ROOT, SSL_CERTIFICATE,
|
||||||
NUM_THREADS, RUN_AS_USER, REWRITE, HIDE_FILES,
|
NUM_THREADS, RUN_AS_USER, REWRITE, HIDE_FILES,
|
||||||
NUM_OPTIONS
|
NUM_OPTIONS
|
||||||
@ -425,6 +424,7 @@ static const char *config_options[] = {
|
|||||||
"E", "cgi_environment", NULL,
|
"E", "cgi_environment", NULL,
|
||||||
"G", "put_delete_passwords_file", NULL,
|
"G", "put_delete_passwords_file", NULL,
|
||||||
"I", "cgi_interpreter", NULL,
|
"I", "cgi_interpreter", NULL,
|
||||||
|
"M", "max_request_size", "16384",
|
||||||
"P", "protect_uri", NULL,
|
"P", "protect_uri", NULL,
|
||||||
"R", "authentication_domain", "mydomain.com",
|
"R", "authentication_domain", "mydomain.com",
|
||||||
"S", "ssi_pattern", "**.shtml$|**.shtm$",
|
"S", "ssi_pattern", "**.shtml$|**.shtm$",
|
||||||
@ -436,7 +436,6 @@ static const char *config_options[] = {
|
|||||||
"i", "index_files", "index.html,index.htm,index.cgi,index.shtml,index.php",
|
"i", "index_files", "index.html,index.htm,index.cgi,index.shtml,index.php",
|
||||||
"k", "enable_keep_alive", "no",
|
"k", "enable_keep_alive", "no",
|
||||||
"l", "access_control_list", NULL,
|
"l", "access_control_list", NULL,
|
||||||
"M", "max_request_size", "16384",
|
|
||||||
"m", "extra_mime_types", NULL,
|
"m", "extra_mime_types", NULL,
|
||||||
"p", "listening_ports", "8080",
|
"p", "listening_ports", "8080",
|
||||||
"r", "document_root", ".",
|
"r", "document_root", ".",
|
||||||
|
Loading…
Reference in New Issue
Block a user