nhttpd: enable mod_sendfile.sendAll by default

Origin commit data
------------------
Branch: ni/coolstream
Commit: f1b443c9b1
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-05 (Tue, 05 Sep 2017)

Origin message was:
------------------
- nhttpd: enable mod_sendfile.sendAll by default

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-09-05 00:04:15 +02:00
parent 287add895f
commit 3bb2a8323b
2 changed files with 2 additions and 2 deletions

View File

@@ -504,7 +504,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