httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch>
Subject Re: FileETag default
Date Mon, 10 Oct 2011 21:53:08 GMT
On Monday 10 October 2011, Igor Galić wrote:
> So I went ahead and tried to hack it, when I stumbled over this:
>     <note type="warning"><title>Warning</title>
>     Do not change the default for directories or locations that
> have WebDAV enabled and use <module>mod_dav_fs</module> as a
> storage provider. <module>mod_dav_fs</module> uses
> <code>INode&nbsp;MTime&nbsp;Size</code> as a fixed format for
> <code>ETag</code> comparisons on conditional requests. These
> conditional requests will break if the <code>ETag</code> format is
> changed via <directive>FileETag</directive>.
>     </note>
> Well, duh.

Then we should change the format in mod_dav_fs, too (it's in 
dav_fs_getetag() in repos.c). Or even better, make mod_dav_fs honor 
the FileETag setting, but that's not a requirement IMHO.

View raw message