diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-04 23:43:44 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-04 23:43:44 +0000 |
commit | 1cbfd98ded582f7d73662d8316120e137f94fe25 (patch) | |
tree | 0c31ee4dbbbe6311938efb9797178eaef5e2fc0d /networking/Config.in | |
parent | 6d5590f9d023a27a42106274ee119b6ed16e15f2 (diff) | |
download | busybox-w32-1cbfd98ded582f7d73662d8316120e137f94fe25.tar.gz busybox-w32-1cbfd98ded582f7d73662d8316120e137f94fe25.tar.bz2 busybox-w32-1cbfd98ded582f7d73662d8316120e137f94fe25.zip |
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 b3d07e63c..af160e7a1 100644 --- a/networking/Config.in +++ b/networking/Config.in | |||
@@ -141,14 +141,6 @@ config FEATURE_HTTPD_USE_SENDFILE | |||
141 | When enabled, httpd will use the kernel sendfile() function | 141 | When enabled, httpd will use the kernel sendfile() function |
142 | instead of read/write loop. | 142 | instead of read/write loop. |
143 | 143 | ||
144 | config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP | ||
145 | bool "Support reloading of global config file on HUP signal" | ||
146 | default n | ||
147 | depends on HTTPD | ||
148 | help | ||
149 | This option enables processing of SIGHUP to reload cached | ||
150 | configuration settings. | ||
151 | |||
152 | config FEATURE_HTTPD_SETUID | 144 | config FEATURE_HTTPD_SETUID |
153 | bool "Enable -u <user> option" | 145 | bool "Enable -u <user> option" |
154 | default n | 146 | default n |
@@ -175,14 +167,6 @@ config FEATURE_HTTPD_AUTH_MD5 | |||
175 | Enables basic per URL authentication from /etc/httpd.conf | 167 | Enables basic per URL authentication from /etc/httpd.conf |
176 | using md5 passwords. | 168 | using md5 passwords. |
177 | 169 | ||
178 | config FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES | ||
179 | bool "Support loading additional MIME types at run-time" | ||
180 | default n | ||
181 | depends on HTTPD | ||
182 | help | ||
183 | This option enables support for additional MIME types at | ||
184 | run-time to be specified in the configuration file. | ||
185 | |||
186 | config FEATURE_HTTPD_CGI | 170 | config FEATURE_HTTPD_CGI |
187 | bool "Support Common Gateway Interface (CGI)" | 171 | bool "Support Common Gateway Interface (CGI)" |
188 | default y | 172 | default y |