diff options
author | Denis Vlasenko | 2009-02-04 23:43:44 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-02-04 23:43:44 +0000 |
commit | 1cbfd98ded582f7d73662d8316120e137f94fe25 (patch) | |
tree | 0c31ee4dbbbe6311938efb9797178eaef5e2fc0d /networking/Config.in | |
parent | 6d5590f9d023a27a42106274ee119b6ed16e15f2 (diff) | |
download | busybox-1cbfd98ded582f7d73662d8316120e137f94fe25.zip busybox-1cbfd98ded582f7d73662d8316120e137f94fe25.tar.gz |
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
Diffstat (limited to 'networking/Config.in')
-rw-r--r-- | networking/Config.in | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/networking/Config.in b/networking/Config.in index b3d07e6..af160e7 100644 --- a/networking/Config.in +++ b/networking/Config.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 |