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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to