httpd: sendfile support

This commit is contained in:
Denis Vlasenko
2007-08-12 21:05:49 +00:00
parent ff65cd469b
commit 1b9064d535
2 changed files with 47 additions and 21 deletions

View File

@@ -83,6 +83,14 @@ config HTTPD
help
Serve web pages via an HTTP server.
config FEATURE_HTTPD_USE_SENDFILE
bool "Use sendfile system call"
default n
depends on HTTPD
help
When enabled, httpd will use the kernel sendfile() function
instead of read/write loop.
config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
bool "Support reloading the global config file using hup signal"
default n