Project

General

Profile

Bug #1241

closed

(mod_compress.c.488) mmaping /var/www/z.html failed Invalid argument

Added by admin over 13 years ago. Updated about 13 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

Hi,

mod_compress.c fills the error log with errors when you access an empty file.

(mod_compress.c.488) mmaping /var/www/z.html failed Invalid argument

$ ls l /var/www
total 0
-rw-r--r-
1 root root 0 2007-06-17 23:41 z.html

#1

Updated by jan about 13 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed in r1918

The same protection got applied that we use in 1.5.x in its mod_compress:

  • don't compress files < 128

For smaller files the compression overhead is too large to make sense.

Also available in: Atom