httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39124] New: - mod_cache using mem_cache randomly sending incorrect mime-type for cached files
Date Mon, 27 Mar 2006 19:40:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39124>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39124

           Summary: mod_cache using mem_cache randomly sending incorrect
                    mime-type for cached files
           Product: Apache httpd-2
           Version: 2.2.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cache
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: max@ytmnd.com


Apache 2.2.0 on SMP Linux 2.6.16 x86_64 with 8gb of RAM.

./configure --with-layout=Apache --enable-module=most --enable-rewrite
--enable-info --enable-status --enable-headers --enable-shared=max
--disable-imap --disable-userdir --disable-cgi --disable-negotiation
--prefix=/www --with-mpm=worker --enable-cache --enable-mem-cache
--enable-mime-magic

<IfModule mod_cache.c>
  CacheEnable mem /
  MCacheSize 4096000
  MCacheMaxObjectCount 20000
  MCacheMinObjectSize 1
  MCacheMaxObjectSize 2048
  MCacheRemovalAlgorithm LRU
</IfModule>

(mmap and sendfile are both on as well)

Requesting a file "blank.gif", a 1x1 transparent gif image randomly falls back
to the mime type set in DefaultType. I tried enabling mime magic, but it didn't
seem to make a difference. As soon as I commented out the mod_cache directives,
the problem disapeared.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message