Ticket #1241 (closed defect: fixed)

Opened 1 year ago

Last modified 11 months ago

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

Reported by: Olaf van der Spek Assigned to: jan
Priority: normal Milestone: 1.4.17
Component: core Version: 1.4.15
Severity: normal Keywords:
Cc: Blocking:
Need Feedback: 0

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

Attachments

Change History

08/15/2007 12:13:39 PM changed by jan

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone changed from 1.5.0 to 1.4.17.

fixed in [1918]

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.


Add/Change #1241 ((mod_compress.c.488) mmaping /var/www/z.html failed Invalid argument)




Change Properties
Action