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 41551] New: - mod_mem_cache cache incorrect header
Date Wed, 07 Feb 2007 07:22:44 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=41551>.
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=41551

           Summary: mod_mem_cache cache incorrect header
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cache
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: xuekun.hu@gmail.com


Hi, 
I'm using Apache2.2.4 (worker+mod_mem_cache). I just used mod_mem_cache to 
cache some little files. However after run severl minutes, I found the file 
content sent by mod_mem_cache are incorrect!! 

I captured the response package. And I found those error packages are sending  
the wrong http headers, like including several headers, wrong ETag value. Seems 
like memory overflow!! For example, one response are:
----------------------------------------------------------------------- 
HTTP/1.1 200 OK
Date: Thu, 25 Jan 2007 11:30:51 GMT
Server: Apache/2.2.4 (Unix) mod_jk/1.2.15
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
ETag: 2<uwJU@x@)IzNFELwphctT&^r^MvqY
kP\k'gZ@Zrs3a-_S+"A@z%49o[9nyUX^-eR9j1*(lp9B4A3)R]J2?yi:sbVxZJV
?('9e@tFn$>.cokt;ao/V|^tXj\UIo-|Xz6YX(nXE9:y/OcK5Yl7]%D3`#s=+;o
cZci>tNQ+|UUp5RETf>f72<{b*0ICP*gz0>'|2UAY'4VeIfL;?4S>*0t9:V9B|B
hML1)p?]grrJ/ku4`h/'N(H63PEi@$qfiP<;f,$7a<Ogy7<[rR]!TMZf{c1($]M
-a_Sb,W`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KLf@o^S2FAgB+]U8MkG_]G5?eg4&{2P#iLKenxT
fq(1LM,rn1@33.9]xp6;@FJPPFQYD"@>ED'D%nfkj;-qEK1[d^wV:i,"NLuylTN
/E(82(nsb,a`8')I=$jP6?8Z.4IH7NE@@$4l:79J/dCU@`=37bT(Opd"`n;(dk&
p6*F-#x!W<no$;Di2%s_]SmXlYgfhEiyTcv`0'PB`[[SP@cl:HM5B*[jvAkUvra
ff=fCE0?P2DqySbc{W5E@[-Bj3-S3,TT_o&=ek:sY(8a_HubaCTX+,,3PFL5.Ap
wWU%^Ohf!9WnizXy|sd.t[qftGmF(.&_fEF6\s`dvRfAg+R8q(Hv"9</pre>
</body>
</html>

Accept-Ranges: bytes
Content-Length: 2170
Expires: Fri, 26 Jan 2007 11:27:58 GMT
Age: 107
Content-Type: text/plain; charset=ISO-8859-1

Accept-Ranges: bytes
Content-Length: 90
Expires: Fri, 26 Jan 2007 11:27:11 GMT
Age: 158
Content-Type: text/plain; charset=ISO-8859-1
...
---------------------------------------------------------------------

While I also tested Apache2.2.3+mod_mem_cache, Apache2.2.4 without 
mod_mem_cache, Apache2.2.4+mod_disk_cache, all work fine. 
So, there must something wrong in mod_mem_cache itself.

I compared with mod_mem_cache in 2.2.3 vs. 2.2.4, the big change is using APR 
memory pool to cache http header, instead of malloc. However I had no idea what 
the real reason is. 

Any thoughts?

Thx, Xuekun

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