mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-15 01:13:36 +02:00
nhttpd: enable mod_sendfile.sendAll by default
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: d996147dbd
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-05 (Tue, 05 Sep 2017)
Origin message was:
------------------
- nhttpd: enable mod_sendfile.sendAll by default
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -503,7 +503,7 @@ void Cyhttpd::ReadConfig(void) {
|
||||
if (Config->getInt32("configfile.version") < 2) {
|
||||
Config->setString("mod_sendfile.mime_types", HTTPD_SENDFILE_EXT);
|
||||
Config->setInt32("configfile.version", CONF_VERSION);
|
||||
Config->setString("mod_sendfile.sendAll", "false");
|
||||
Config->setString("mod_sendfile.sendAll", HTTPD_SENDFILE_ALL);
|
||||
Config->saveConfig(HTTPD_CONFIGFILE);
|
||||
}
|
||||
// Add Defaults for Version 4
|
||||
|
Reference in New Issue
Block a user