testGoAwayIdIncreaseFails() — netty Function Reference
Architecture documentation for the testGoAwayIdIncreaseFails() function in Http3ControlStreamOutboundHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD caa6ff73_afd1_fef8_c507_edcd80fd4f1d["testGoAwayIdIncreaseFails()"] 96e94d38_9bbf_f4b3_6ef3_a1a498a9ad08["Http3ControlStreamOutboundHandlerTest"] caa6ff73_afd1_fef8_c507_edcd80fd4f1d -->|defined in| 96e94d38_9bbf_f4b3_6ef3_a1a498a9ad08 c88d38df_6fe0_deaf_60d6_dd4e3e17393b["writeValidFrame()"] caa6ff73_afd1_fef8_c507_edcd80fd4f1d -->|calls| c88d38df_6fe0_deaf_60d6_dd4e3e17393b 8121e86a_b9a8_77de_f5e2_3e8ff94f93ab["writeInvalidFrame()"] caa6ff73_afd1_fef8_c507_edcd80fd4f1d -->|calls| 8121e86a_b9a8_77de_f5e2_3e8ff94f93ab style caa6ff73_afd1_fef8_c507_edcd80fd4f1d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandlerTest.java lines 92–109
@ParameterizedTest(name = "{index}: server = {0}")
@MethodSource("data")
public void testGoAwayIdIncreaseFails(boolean server) throws Exception {
setUp(server);
// Let's mark the parent as inactive before we close as otherwise we will send a close frame.
parent.close().get();
EmbeddedChannel channel = newStream(newHandler(server));
if (server) {
writeValidFrame(channel, new DefaultHttp3GoAwayFrame(4));
writeInvalidFrame(Http3ErrorCode.H3_ID_ERROR, channel, new DefaultHttp3GoAwayFrame(8));
} else {
writeValidFrame(channel, new DefaultHttp3GoAwayFrame(1));
writeInvalidFrame(Http3ErrorCode.H3_ID_ERROR, channel, new DefaultHttp3GoAwayFrame(3));
}
assertFalse(channel.finish());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testGoAwayIdIncreaseFails() do?
testGoAwayIdIncreaseFails() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandlerTest.java.
Where is testGoAwayIdIncreaseFails() defined?
testGoAwayIdIncreaseFails() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandlerTest.java at line 92.
What does testGoAwayIdIncreaseFails() call?
testGoAwayIdIncreaseFails() calls 2 function(s): writeInvalidFrame, writeValidFrame.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free