Author: remm
Date: Thu Feb 8 16:25:11 2018
New Revision: 1823577
URL: http://svn.apache.org/viewvc?rev=1823577&view=rev
Log:
This test is a problem if a parser reads a frame before processing it.
Modified:
tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
Modified: tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_1.java?rev=1823577&r1=1823576&r2=1823577&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
(original)
+++ tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_1.java Thu Feb
8 16:25:11 2018
@@ -139,12 +139,7 @@ public class TestHttp2Section_5_1 extend
// Build the simple request on an old stream
- byte[] frameHeader = new byte[9];
- ByteBuffer headersPayload = ByteBuffer.allocate(128);
- buildSimpleGetRequest(frameHeader, headersPayload, null, 3);
-
- os.write(frameHeader);
- os.flush();
+ sendSimpleGetRequest(3);
handleGoAwayResponse(5);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]