wget: -O FILE is allowed to overwrite existing file (compat)
[oweals/busybox.git] / networking / Config.in
index 2ea0650a0ab98163747eafa23783e78700e1dd46..030b1c0dee38516d8220b131d1d71531330f15ff 100644 (file)
@@ -83,6 +83,23 @@ config HTTPD
        help
          Serve web pages via an HTTP server.
 
+config FEATURE_HTTPD_RANGES
+       bool "Support 'Ranges:' header"
+       default n
+       depends on HTTPD
+       help
+         Makes httpd emit "Accept-Ranges: bytes" header and understand
+         "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
+         downloads, seeking in multimedia players etc.
+
+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
@@ -162,6 +179,19 @@ config FEATURE_HTTPD_ENCODE_URL_STR
          For example, httpd -e "<Hello World>" as
          "&#60Hello&#32World&#62".
 
+config FEATURE_HTTPD_ERROR_PAGES
+       bool "Enable support for custom error pages"
+       default n
+       depends on HTTPD
+       help
+         This option allows you to define custom error pages in
+         the configuration file instead of the default HTTP status
+         error pages. For instance, if you add the line:
+               E404:/path/e404.html
+         in the config file, the server will respond the specified
+         '/path/e404.html' file instead of the terse '404 NOT FOUND'
+         message.
+
 config IFCONFIG
        bool "ifconfig"
        default n
@@ -228,6 +258,7 @@ config IFUPDOWN
 config IFUPDOWN_IFSTATE_PATH
        string "Absolute path to ifstate file"
        default "/var/run/ifstate"
+       depends on IFUPDOWN
        help
          ifupdown keeps state information in a file called ifstate.
          Typically it is located in /var/run/ifstate, however