You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/02/25 14:28:05 UTC

DO NOT REPLY [Bug 17370] New: - Wrong HTTP Content Length for Reader when "show-time"

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

Wrong HTTP Content Length for Reader when "show-time"

           Summary: Wrong HTTP Content Length for Reader when "show-time"
           Product: Cocoon 2
           Version: 2.0.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: lucas.g@voila.fr


The content-length delivered of the cocoon servlet runing in a Tomcat 4.1.18
is wrong since it does not account for the show-times conmment at the end of
the document when served through a reader:
      <map:match pattern="**.htm">
        <map:read src="{1}.htm"/>
      </map:match>
This causes IE 6 (latest SP) to be no more able to split documents.
Our config is SuSE 8.0, Cocoon 2.0.4 in Tomcat 4.1.18 behind an Apache Httpd
2.0.43 configured as reverse proxy with HTTP/1.1 and "keep alive" turned on
(httpd's default).
Workaround: Switch keep alive of.

The detail symptoms are: HTML comment of preceeding document is visible in 
document along with it's own HTTP header and html source displayed as text.