/[Apache-SVN]
ViewVC logotype

Revision 1600449


Jump to revision: Previous Next
Author: markt
Date: Wed Jun 4 19:18:57 2014 UTC (5 years, 4 months ago)
Changed paths: 6
Log Message:
Improve error handling for an unhandled exception after the response has been committed. Tomcat will now attempt to:
- flush any unwritten response data to the client
- prevent further writes to the response
- close the connection

This means that the client should experience an unclean close that will enable them to differentiate (when chunked encoding is used) between an incomplete response that encountered an error and a complete response that did not (prior to this commit, Tomcat completed the request normally and - depending on the response data written to that point - it may not have been visible to the client that the response was incomplete at that point.

Changed paths

Path Details
Directorytomcat/trunk/java/org/apache/catalina/valves/ErrorReportValve.java modified , text changed
Directorytomcat/trunk/java/org/apache/coyote/ActionCode.java modified , text changed
Directorytomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java modified , text changed
Directorytomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java modified , text changed
Directorytomcat/trunk/java/org/apache/coyote/spdy/SpdyProcessor.java modified , text changed
Directorytomcat/trunk/test/org/apache/coyote/http11/TestAbstractHttp11Processor.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26