This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 9ca2f7e1f055ec89783cd5a47772145bc1310925
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Mar 11 14:30:17 2021 +0000

    Simplify - align with 9.0.x/10.0.x
---
 test/org/apache/coyote/http2/TestHttp2Section_5_1.java | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/test/org/apache/coyote/http2/TestHttp2Section_5_1.java 
b/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
index 4a8b357..e8ca217 100644
--- a/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
+++ b/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
@@ -139,12 +139,7 @@ public class TestHttp2Section_5_1 extends Http2TestBase {
 
 
         // 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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to