Author: markt
Date: Mon Sep 26 19:57:39 2016
New Revision: 1762374
URL: http://svn.apache.org/viewvc?rev=1762374&view=rev
Log:
Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=60174
Log instances of HeadersTooLargeException during request processing.
Modified:
tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java?rev=1762374&r1=1762373&r2=1762374&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java Mon Sep 26
19:57:39 2016
@@ -794,6 +794,7 @@ public class Http11Processor extends Abs
} catch (InterruptedIOException e) {
setErrorState(ErrorState.CLOSE_CONNECTION_NOW, e);
} catch (HeadersTooLargeException e) {
+ log.error(sm.getString("http11processor.request.process"),
e);
// The response should not have been committed but check it
// anyway to be safe
if (response.isCommitted()) {
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1762374&r1=1762373&r2=1762374&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Mon Sep 26 19:57:39 2016
@@ -121,6 +121,10 @@
excessively large vales to be returned for the processing time of
a current request. (markt)
</fix>
+ <fix>
+ <bug>60174</bug>: Log instances of
<code>HeadersTooLargeException</code>
+ during request processing. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Jasper">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]