httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: use of APR_SENDFILE_ENABLED in mod_disk_cache
Date Sun, 08 Feb 2009 21:36:47 GMT


On 02/08/2009 09:35 PM, Lars Eilebrecht wrote:
> Ruediger Pluem wrote on 2009-02-07 22:03:38:
> 
>> IMHO this is correct. The problem is that we do not know at this
>> point of time how EnableSendFile is set. We are in the quick handler
>> and have not done any directory walks (and in fact if the cached
>> entry is good we never will).
>> So the only option I see here is to add another directive for
>> mod_disk_cache to determine what should be done.
> 
> Well, but if EnableSendfile is configured in the main config
> or vhost we get the setting by looking at the core_module config.
> Of course you are right that this doesn't work when it is defined
> inside a Location or Directory section.

Well I am not sure if the core_dir_config structure is already setup
during the quick handler phase (even for settings done on VHOST level).

Regards

RĂ¼diger

Mime
View raw message