Diff of /tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java
Parent Directory
| Revision Log
| Patch
--- tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java 2005/12/29 18:10:56 359863
+++ tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java 2005/12/29 18:12:55 359864
@@ -1364,19 +1364,14 @@ public class Http11AprProcessor implemen
parseHost(valueMB);
if (!contentDelimitation) {
- // If there's no content length and we're using keep-alive
- // (HTTP/1.0 with keep-alive or HTTP/1.1), assume
+ // If there's no content length
+ // (broken HTTP/1.0 or HTTP/1.1), assume
// the client is not broken and didn't send a body
- if (keepAlive) {
- inputBuffer.addActiveFilter
+ inputBuffer.addActiveFilter
(inputFilters[Constants.VOID_FILTER]);
- contentDelimitation = true;
- }
+ contentDelimitation = true;
}
- if (!contentDelimitation)
- keepAlive = false;
-
// Advertise sendfile support through a request attribute
if (endpoint.getUseSendfile()) {
request.setAttribute("org.apache.tomcat.sendfile.support", Boolean.TRUE);