You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2018/10/12 09:25:28 UTC
svn commit: r1843630 - in /tomcat/trunk:
java/org/apache/catalina/valves/ErrorReportValve.java
webapps/docs/changelog.xml
Author: remm
Date: Fri Oct 12 09:25:28 2018
New Revision: 1843630
URL: http://svn.apache.org/viewvc?rev=1843630&view=rev
Log:
62797: Pass throwable to keep client aborts with status 200 rather than 500. Patch submitted by zikfat.
Modified:
tomcat/trunk/java/org/apache/catalina/valves/ErrorReportValve.java
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/java/org/apache/catalina/valves/ErrorReportValve.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/valves/ErrorReportValve.java?rev=1843630&r1=1843629&r2=1843630&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/valves/ErrorReportValve.java (original)
+++ tomcat/trunk/java/org/apache/catalina/valves/ErrorReportValve.java Fri Oct 12 09:25:28 2018
@@ -103,7 +103,8 @@ public class ErrorReportValve extends Va
}
// Close immediately to signal to the client that something went
// wrong
- response.getCoyoteResponse().action(ActionCode.CLOSE_NOW, null);
+ response.getCoyoteResponse().action(ActionCode.CLOSE_NOW,
+ (Throwable) request.getAttribute(RequestDispatcher.ERROR_EXCEPTION));
}
return;
}
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1843630&r1=1843629&r2=1843630&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Fri Oct 12 09:25:28 2018
@@ -96,6 +96,10 @@
<bug>62803</bug>: Fix SSL connector configuration processing
in storeconfig. (remm)
</fix>
+ <fix>
+ <bug>62797</bug>: Pass throwable to keep client aborts with status 200
+ rather than 500. Patch submitted by zikfat. (remm)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org