Home / Function/ testSetTableSizeOverLimitFails() — netty Function Reference

testSetTableSizeOverLimitFails() — netty Function Reference

Architecture documentation for the testSetTableSizeOverLimitFails() function in HpackDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  28509047_a533_872a_5b1f_ff08cbee9557["testSetTableSizeOverLimitFails()"]
  499468ca_3853_024b_2b80_17090ef6cd43["HpackDecoderTest"]
  28509047_a533_872a_5b1f_ff08cbee9557 -->|defined in| 499468ca_3853_024b_2b80_17090ef6cd43
  47ac4151_0b50_9884_0d18_472d1c51065d["decode()"]
  28509047_a533_872a_5b1f_ff08cbee9557 -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  style 28509047_a533_872a_5b1f_ff08cbee9557 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java lines 201–216

    @Test
    public void testSetTableSizeOverLimitFails() throws Http2Exception {
        byte[] input = {(byte) 0x3F, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x0E};
        final ByteBuf in = Unpooled.wrappedBuffer(input);
        try {
            hpackDecoder.setMaxHeaderTableSize(4026531870L - 1); // based on the input above ... 1 less than is above.
            assertThrows(Http2Exception.class, new Executable() {
                @Override
                public void execute() throws Throwable {
                    hpackDecoder.decode(0, in, mockHeaders, true);
                }
            });
        } finally {
            in.release();
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does testSetTableSizeOverLimitFails() do?
testSetTableSizeOverLimitFails() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java.
Where is testSetTableSizeOverLimitFails() defined?
testSetTableSizeOverLimitFails() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java at line 201.
What does testSetTableSizeOverLimitFails() call?
testSetTableSizeOverLimitFails() calls 1 function(s): decode.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free