You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Sander Striker <st...@apache.org> on 2003/02/28 14:22:49 UTC

mod_file_cache, mmap

Hi,


Since discovering that mmaping 0 lenght files doesn't work,
it might make sense to add a check for those where apr_mmap_create
is used:

modules/cache/mod_file_cache.c:217:        if ((rc = apr_mmap_create(&new_file->mm, fd, 0,

The choice is either not cache, or special case the 0 length file.


Sander