httpd:
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 4 Feb 2009 23:43:44 +0000 (23:43 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 4 Feb 2009 23:43:44 +0000 (23:43 -0000)
commit1cbfd98ded582f7d73662d8316120e137f94fe25
tree0c31ee4dbbbe6311938efb9797178eaef5e2fc0d
parent6d5590f9d023a27a42106274ee119b6ed16e15f2
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
TODO_config_nommu
networking/Config.in
networking/httpd.c
scripts/defconfig