You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/08/04 22:47:37 UTC

DO NOT REPLY [Bug 30398] - Wrong content type when using mod_jk with mod_cache

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=30398>.
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=30398

Wrong content type when using mod_jk with mod_cache





------- Additional Comments From ruediger.pluem@vodafone.com  2004-08-04 20:47 -------
No, you cannot use my patch as I patched mod_jk to solve my problem. You
need a patch for mod_disk_cache. But as I mentioned in 30398, I was not quite
sure if this problem is a bug in mod_jk or mod_cache / mod_disk_cache
(BTW: mod_mem_cache does not have this problem). After I read this report here
I am quite sure that it is a bug in mod_disk_cache and that it should be fixed
there.
mod_disk_cache.c already contains the needed code in write_headers, but
it is executed too late. So I just moved this piece of code and created an
appropriate patch for this which I will attach.

I removed my patch from my mod_jk and added my patch to mod_disk_cache and
my problem from 30398 remains silent. I hope that this patch will also solve
your problem. A short feedback on your experience with the patch would be much
appreciated.

BTW: If you have any problems with mod_cache storing Cookies unintentional, or
with other weird HTTP header caching behaviour you may find the following links
useful:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=30399
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=30419

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org