billbarker 2003/07/13 14:52:06
Modified: http11/src/java/org/apache/coyote/http11
Http11Processor.java
Log:
It seems I need to learn the difference between "true" and "false" :(.
Revision Changes Path
1.71 +1 -1
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.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- Http11Processor.java 6 Jul 2003 06:16:00 -0000 1.70
+++ Http11Processor.java 13 Jul 2003 21:52:05 -0000 1.71
@@ -1269,7 +1269,7 @@
// If we know that the request is bad this early, add the
// Connection: close header.
- keepAlive = keepAlive && statusDropsConnection(statusCode);
+ keepAlive = keepAlive && !statusDropsConnection(statusCode);
if (!keepAlive) {
response.addHeader("Connection", "close");
} else if (!http11) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]