tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45523] New: Setting outputBuffer in Connector has no effect
Date Fri, 01 Aug 2008 15:48:17 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45523

           Summary: Setting outputBuffer in Connector has no effect
           Product: Tomcat 6
           Version: 6.0.13
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: timo.kinnunen@gmail.com


Increasing outputBuffer has no effect when an exception occurs when large
amount of output has already been written.

I have a JSP-file which contains the following lines:

<jsp:include page="index2.html"></jsp:include>
<u:dao beanVar="var" foo="1"></u:dao>

u:dao tag throws an NPE, which is caught in a filter and then forwarded to an
error JSP-page. Despite this, the browser receives partial contents of
index2.html. If the line order is reversed, the browser correctly receives the
contents of the error JSP. The index2.html size 36Kb.

I've tried these two Connector definitions: 

    <Connector connectionTimeout="20000" port="8080" 
    protocol="org.apache.coyote.http11.Http11NioProtocol"
    redirectPort="8443" socketBuffer="81920" URIEncoding="UTF-8"/>

    <Connector connectionTimeout="20000" port="8080" 
    protocol="HTTP/1.1" 
    redirectPort="8443" URIEncoding="UTF-8" socketBuffer="1280000"/>


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message