httpd: optional support for gzip-compressed pages

function                                             old     new   delta
send_file_and_exit                                   662     761     +99
handle_incoming_and_exit                            2756    2830     +74
send_headers                                         603     654     +51
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 224/0)             Total: 224 bytes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Peter Korsgaard
2010-07-25 03:20:53 +02:00
committed by Denys Vlasenko
parent 535ce1df5c
commit 7a2ba329b9
2 changed files with 60 additions and 4 deletions

View File

@@ -270,6 +270,14 @@ config FEATURE_HTTPD_PROXY
Then a request to /url/myfile will be forwarded to
http://hostname[:port]/new/path/myfile.
config FEATURE_HTTPD_GZIP
bool "Support for GZIP content encoding"
default y
depends on HTTPD
help
Makes httpd send files using GZIP content encoding if the
client supports it and a pre-compressed <file>.gz exists.
config IFCONFIG
bool "ifconfig"
default y