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/18 21:27:36 UTC

svn commit: r1735673 - /tomcat/tc8.0.x/trunk/test/org/apache/coyote/http11/TestInternalInputBuffer.java

Author: markt
Date: Fri Mar 18 20:27:35 2016
New Revision: 1735673

URL: http://svn.apache.org/viewvc?rev=1735673&view=rev
Log:
Fix test failure on NIO2 + Windows

Modified:
    tomcat/tc8.0.x/trunk/test/org/apache/coyote/http11/TestInternalInputBuffer.java

Modified: tomcat/tc8.0.x/trunk/test/org/apache/coyote/http11/TestInternalInputBuffer.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/test/org/apache/coyote/http11/TestInternalInputBuffer.java?rev=1735673&r1=1735672&r2=1735673&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/test/org/apache/coyote/http11/TestInternalInputBuffer.java (original)
+++ tomcat/tc8.0.x/trunk/test/org/apache/coyote/http11/TestInternalInputBuffer.java Fri Mar 18 20:27:35 2016
@@ -500,6 +500,9 @@ public class TestInternalInputBuffer ext
 
         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