You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2016/03/09 20:52:19 UTC

svn commit: r1734302 - /tomcat/trunk/test/org/apache/coyote/http11/TestHttp11InputBuffer.java

Author: markt
Date: Wed Mar  9 19:52:19 2016
New Revision: 1734302

URL: http://svn.apache.org/viewvc?rev=1734302&view=rev
Log:
Fix test failure on some platforms

Modified:
    tomcat/trunk/test/org/apache/coyote/http11/TestHttp11InputBuffer.java

Modified: tomcat/trunk/test/org/apache/coyote/http11/TestHttp11InputBuffer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/coyote/http11/TestHttp11InputBuffer.java?rev=1734302&r1=1734301&r2=1734302&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/coyote/http11/TestHttp11InputBuffer.java (original)
+++ tomcat/trunk/test/org/apache/coyote/http11/TestHttp11InputBuffer.java Wed Mar  9 19:52:19 2016
@@ -501,6 +501,9 @@ public class TestHttp11InputBuffer exten
 
         private Exception doRequest() {
 
+            // Ensure body is read correctly
+            setUseContentLength(true);
+
             Tomcat tomcat = getTomcatInstance();
 
             Context root = tomcat.addContext("", TEMP_DIR);



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