DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16903>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16903 No caching if serializer buffer-size < content length ------- Additional Comments From [EMAIL PROTECTED] 2003-02-09 11:06 ------- Did the same for cvs HEAD as for COCOON_2_0_3_BRANCH (see previous comment) except I had to leave the CachedResponse's original constructor intact since it is being used also for caching SAX streams. cvs diff CachedResponse.java (in directory D:\apache\xml\xml-cocoon2 \src\java\org\apache\cocoon\caching\) Index: CachedResponse.java =================================================================== RCS file: /home/cvspublic/xml- cocoon2/src/java/org/apache/cocoon/caching/CachedResponse.java,v retrieving revision 1.5 diff -r1.5 CachedResponse.java 54c54 < --- > import org.apache.cocoon.caching.CachingOutputStream; 72a73 > private CachingOutputStream outputStream; 79c80 < * @param response The cached sax stream or character stream --- > * @param response The cached sax stream 87a89,101 > * Create a new entry for the cache. > * > * @param validityObjects The SourceValidity objects in the order > * they occured in the pipeline > * @param outputStream The cached character stream > */ > public CachedResponse(SourceValidity[] validityObjects, > CachingOutputStream outputStream) { > this.validityObjects = validityObjects; > this.outputStream = outputStream; > } > > /** 99a114,117 > if (this.response == null) { > this.response = outputStream.getContent(); > this.outputStream = null; > } cvs diff CachingPointProcessingPipeline.java (in directory D:\apache\xml\xml- cocoon2\src\java\org\apache\cocoon\components\pipeline\impl\) Index: CachingPointProcessingPipeline.java =================================================================== RCS file: /home/cvspublic/xml- cocoon2/src/java/org/apache/cocoon/components/pipeline/impl/CachingPointProcessi ngPipeline.java,v retrieving revision 1.9 diff -r1.9 CachingPointProcessingPipeline.java 219c219 < ((CachingOutputStream)os).getContent ()); --- > (CachingOutputStream)os); cvs diff CachingProcessingPipeline.java (in directory D:\apache\xml\xml-cocoon2 \src\java\org\apache\cocoon\components\pipeline\impl\) Index: CachingProcessingPipeline.java =================================================================== RCS file: /home/cvspublic/xml- cocoon2/src/java/org/apache/cocoon/components/pipeline/impl/CachingProcessingPip eline.java,v retrieving revision 1.34 diff -r1.34 CachingProcessingPipeline.java 86c86 < ((CachingOutputStream)os).getContent ()); --- > (CachingOutputStream)os); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]