You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bi...@apache.org on 2003/07/04 10:17:37 UTC
cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11Processor.java
billbarker 2003/07/04 01:17:37
Modified: http11/src/java/org/apache/coyote/http11
Http11Processor.java
Log:
Drop connections on high HTTP errors.
Fix for bug #21219
Reported By: julian.reschke@gmx.de
Revision Changes Path
1.68 +3 -0 jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java
Index: Http11Processor.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- Http11Processor.java 5 Jun 2003 19:46:49 -0000 1.67
+++ Http11Processor.java 4 Jul 2003 08:17:37 -0000 1.68
@@ -635,6 +635,9 @@
thrA.setCurrentStage(threadPool, "service");
rp.setStage(org.apache.coyote.Constants.STAGE_SERVICE);
adapter.service(request, response);
+ if(response.getStatus() >= 403) {
+ error=true;
+ }
} catch (InterruptedIOException e) {
error = true;
} catch (Throwable t) {
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org