Author: remm Date: Thu Dec 29 10:12:55 2005 New Revision: 359864 URL: http://svn.apache.org/viewcvs?rev=359864&view=rev Log: - Port patch.
Modified: tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java Modified: tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java URL: http://svn.apache.org/viewcvs/tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java?rev=359864&r1=359863&r2=359864&view=diff ============================================================================== --- tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java (original) +++ tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java Thu Dec 29 10:12:55 2005 @@ -1364,18 +1364,13 @@ 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()) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]