httpd:
Kill config options by making them always on: FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES This makes httpd.c remotely readable - it had ~125 #ifdefs, now it has ~100. The growth on a .config with all FEATURE_HTTPDs off is: function old new delta send_file_and_exit - 269 +269 parse_conf 683 763 +80 free_llist - 32 +32 httpd_main 427 454 +27 sighup_handler - 15 +15 handle_incoming_and_exit 1110 905 -205 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 2/1 up/down: 423/-205) Total: 218 bytes
This commit is contained in:
@@ -141,14 +141,6 @@ config FEATURE_HTTPD_USE_SENDFILE
|
||||
When enabled, httpd will use the kernel sendfile() function
|
||||
instead of read/write loop.
|
||||
|
||||
config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
|
||||
bool "Support reloading of global config file on HUP signal"
|
||||
default n
|
||||
depends on HTTPD
|
||||
help
|
||||
This option enables processing of SIGHUP to reload cached
|
||||
configuration settings.
|
||||
|
||||
config FEATURE_HTTPD_SETUID
|
||||
bool "Enable -u <user> option"
|
||||
default n
|
||||
@@ -175,14 +167,6 @@ config FEATURE_HTTPD_AUTH_MD5
|
||||
Enables basic per URL authentication from /etc/httpd.conf
|
||||
using md5 passwords.
|
||||
|
||||
config FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
|
||||
bool "Support loading additional MIME types at run-time"
|
||||
default n
|
||||
depends on HTTPD
|
||||
help
|
||||
This option enables support for additional MIME types at
|
||||
run-time to be specified in the configuration file.
|
||||
|
||||
config FEATURE_HTTPD_CGI
|
||||
bool "Support Common Gateway Interface (CGI)"
|
||||
default y
|
||||
|
Reference in New Issue
Block a user