On Wed, 17 Jan 2007, Giuliano Gavazzi wrote:

          rv = apr_file_seek(dobj->hfd, APR_SET, &off);

does not rewind if the file has been opened with APR_FOPEN_BUFFERED. Now, I

This is an APR bug, I submitted a bug report for it a while ago. I worked around it by not using buffering at all and writing larger chunks when writing headers.

There is another potential problem in store_headers, if the headers file is

Is this in trunk or in 2.2.4 proper? You should probably ignore mod_disk_cache on trunk until that situation is settled.

If you're into trying patches you could give my mod_disk_cache jumbopatch a spin, note however that it's only been tested for mostly static content (directory indexes being an exception). You can find the patch at http://issues.apache.org/bugzilla/show_bug.cgi?id=39380 ...

/Nikke
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     [EMAIL PROTECTED]
---------------------------------------------------------------------------
 Preserve wildlife... pickle a sqirrel.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Reply via email to