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=21492>. 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=21492 Bad file size in disk cache for large css files ------- Additional Comments From [EMAIL PROTECTED] 2004-09-23 11:18 ------- I checked this with 2.0.51 and it is only partially fixed. It should work with local files, but it does not work if the length of the content to be cached is unknown and the file is large as it is the case if you cache large dynamic content originally created by Tomcat. And this is what I am doing. I try to lower the load on the Tomcats by caching large files generated by Tomcat that are valid for some time via mod_cache on the webserver. The problem is that in this case we get to line 663 of mod_disk_cache.c as the condition in line 661 is true in any case (content written completely to file or only partially because the connection has been aborted). So this operation is handled as successful caching of the request in any case even if the content was only saved partially. Nevertheless the changes to mod_disk_cache provide an better environment now for the needed changes so I provide an updated version of my patch for 2.0.51. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
