Skip to content

Commit

Permalink
Correct name (copy/paste error)
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1684503 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
markt-asf committed Jun 9, 2015
1 parent 0328e00 commit 308ad47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/org/apache/coyote/http2/TestHttp2Section_4_2.java
Expand Up @@ -132,18 +132,18 @@ public void testFrameTypeLimitsStream() throws Exception {
http2Connect(); http2Connect();


// Invalid priority // Invalid priority
byte[] ping = new byte[9]; byte[] priority = new byte[9];


// Header // Header
// Length 0 // Length 0
// Type // Type
ping[3] = FrameType.PRIORITY.getIdByte(); priority[3] = FrameType.PRIORITY.getIdByte();
// No flags // No flags
// Stream 3 // Stream 3
ByteUtil.set31Bits(ping, 5, 3); ByteUtil.set31Bits(priority, 5, 3);
// Empty payload // Empty payload


os.write(ping); os.write(priority);


// Read GOAWAY frame // Read GOAWAY frame
parser.readFrame(true); parser.readFrame(true);
Expand Down

0 comments on commit 308ad47

Please sign in to comment.