tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1599558 - /tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java
Date Tue, 03 Jun 2014 14:16:10 GMT
Author: markt
Date: Tue Jun  3 14:16:10 2014
New Revision: 1599558

URL: http://svn.apache.org/r1599558
Log:
Align code with comment and use a 500 response (internal server error)
as per the comment rather than a 400 response.

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java?rev=1599558&r1=1599557&r2=1599558&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java Tue Jun  3 14:16:10
2014
@@ -1055,8 +1055,8 @@ public abstract class AbstractHttp11Proc
                         getLog().debug(sm.getString(
                                 "http11processor.request.prepare"), t);
                     }
-                    // 400 - Internal Server Error
-                    response.setStatus(400);
+                    // 500 - Internal Server Error
+                    response.setStatus(500);
                     getAdapter().log(request, response, 0);
                     error = true;
                 }



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


Mime
View raw message