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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]