You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/02/12 08:06:29 UTC

DO NOT REPLY [Bug 46701] New: mod_file_cache works weirdly

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


DO NOT REPLY [Bug 46701] mod_file_cache works weirdly

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46701


Nick Kew <ni...@webthing.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Nick Kew <ni...@webthing.com>  2009-02-12 01:08:13 PST ---
The cache isn't designed to be modified by hand.
Please use a user support forum for whatever you really meant to ask.


-- 
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