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 46701] New: mod_file_cache works weirdly
Date Thu, 12 Feb 2009 07:06:29 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46701

           Summary: mod_file_cache works weirdly
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: mod_file_cache
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ahatest@yahoo.com.cn


hi, guys,

My httpd is 2.2.3 on Fedora Core 3, compiled from source codes.
These days, I am working on mod_file_cache for improve the performance.

So, I used apxs to generate the mod_file_cache.so, and it modified the
httpd.conf

and I also added
CacheFile /path/to/targetFile
or
MMapFile /path/to/targetFile

at the end of httpd.conf.


but I found a strange issue:

A):
if the old file content is:
"abc"
then I change into:
"1234567"

after I refresh the file in browser, I got "123".
That is new content appeared(that should NOT)
and the length of new content is the length of old content.
and the rest of new content disappeared.

B):
if the old content is:
"1234567"
then I change into
"abc"

then I got "abc" and padding with chars, whose ascii value is 0.


seems mod_file_cache made some effect, but not correct.

Thanks for any help.


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

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


Mime
View raw message