From: Lars Eilebrecht Date: Sat, 21 Feb 2009 17:07:01 +0000 (+0000) Subject: fix mod_disk_cache to support EnableSendfile. X-Git-Tag: 2.3.2~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77188b407d304875b4ddf08cfcb694b74f805d12;p=thirdparty%2Fapache%2Fhttpd.git fix mod_disk_cache to support EnableSendfile. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@746541 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index fbddfd82e88..aa252afad70 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.3.2 + *) mod_disk_cache: The module now turns off sendfile support if + 'EnableSendfile off' is defined globally. [Lars Eilebrecht] + *) mod_deflate: Adjust content metadata before bailing out on 304 responses so that the metadata does not differ from 200 response. [Roy T. Fielding] diff --git a/docs/manual/mod/core.html.de b/docs/manual/mod/core.html.de index a153451effc..892e1fd70cc 100644 --- a/docs/manual/mod/core.html.de +++ b/docs/manual/mod/core.html.de @@ -978,6 +978,12 @@ Dateien an den Client auszuliefern </Directory>

+

Beachten Sie bitte, dass die verzeichnisbasierte und + .htaccess-Konfiguration von EnableSendfile + nicht vom mod_disk_cache-Modul unterstützt wird. + Nur die globale Konfiguration von EnableSendfile + wird vom Modul beachtet. +

top
diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 8c3d7865c89..c4d8994b904 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -939,6 +939,12 @@ Locations </Directory>

+

Please note that the per-directory and .htaccess configuration + of EnableSendfile is not supported by + mod_disk_cache. + Only global definition of EnableSendfile + is taken into account by the module. +

top
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index c6b3aea4379..fd172e34b4e 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -900,6 +900,12 @@ Locations </Directory> +

Please note that the per-directory and .htaccess configuration + of EnableSendfile is not supported by + mod_disk_cache. + Only global definition of EnableSendfile + is taken into account by the module. +

diff --git a/docs/manual/mod/core.xml.de b/docs/manual/mod/core.xml.de index 2d12e673501..129df5f8361 100644 --- a/docs/manual/mod/core.xml.de +++ b/docs/manual/mod/core.xml.de @@ -925,6 +925,12 @@ Dateien an den Client auszuliefern </Directory> +

Beachten Sie bitte, dass die verzeichnisbasierte und + .htaccess-Konfiguration von EnableSendfile + nicht vom mod_disk_cache-Modul unterstützt wird. + Nur die globale Konfiguration von EnableSendfile + wird vom Modul beachtet. +

diff --git a/docs/manual/mod/mod_disk_cache.html.en b/docs/manual/mod/mod_disk_cache.html.en index 136eace3d22..54966159d8d 100644 --- a/docs/manual/mod/mod_disk_cache.html.en +++ b/docs/manual/mod/mod_disk_cache.html.en @@ -32,7 +32,7 @@

Summary

mod_disk_cache implements a disk based storage - manager. It is primarily of use in conjunction + manager. It is primarily of use in conjunction with mod_cache.

Content is stored in and retrieved from the cache using URI based @@ -45,6 +45,16 @@

mod_disk_cache requires the services of mod_cache.

+

Note:

+

mod_disk_cache uses the sendfile feature to + serve files from the cache when supported by the platform, and + when enabled with EnableSendfile. + However, per-directory and .htaccess configuration of + EnableSendfile are ignored my + mod_disk_cache as the corresponding settings are not + available to the module when a request is being served from the + cache.

+

Directives