diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-05 02:43:44 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-05 02:43:44 +0300 |
commit | 1cbfd98ded582f7d73662d8316120e137f94fe25 (patch) | |
tree | 0c31ee4dbbbe6311938efb9797178eaef5e2fc0d /scripts | |
parent | 6d5590f9d023a27a42106274ee119b6ed16e15f2 (diff) |
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 'scripts')
-rw-r--r-- | scripts/defconfig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/defconfig b/scripts/defconfig index b8b8c575e..6bf1a4a28 100644 --- a/scripts/defconfig +++ b/scripts/defconfig @@ -632,11 +632,9 @@ CONFIG_HOSTNAME=y CONFIG_HTTPD=y CONFIG_FEATURE_HTTPD_RANGES=y CONFIG_FEATURE_HTTPD_USE_SENDFILE=y -CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP=y CONFIG_FEATURE_HTTPD_SETUID=y CONFIG_FEATURE_HTTPD_BASIC_AUTH=y CONFIG_FEATURE_HTTPD_AUTH_MD5=y -CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES=y CONFIG_FEATURE_HTTPD_CGI=y CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR=y CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV=y |