receivingGoAwayFailsNewStreamIfMaxConcurrentStreamsReached() — netty Function Reference
Architecture documentation for the receivingGoAwayFailsNewStreamIfMaxConcurrentStreamsReached() function in StreamBufferingEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b50540da_87f1_0953_7998_c4a801d47e45["receivingGoAwayFailsNewStreamIfMaxConcurrentStreamsReached()"] b13b21e9_41cb_8feb_3534_f953823cad07["StreamBufferingEncoderTest"] b50540da_87f1_0953_7998_c4a801d47e45 -->|defined in| b13b21e9_41cb_8feb_3534_f953823cad07 f0871f47_b22a_42a3_326b_2bb017254453["setMaxConcurrentStreams()"] b50540da_87f1_0953_7998_c4a801d47e45 -->|calls| f0871f47_b22a_42a3_326b_2bb017254453 style b50540da_87f1_0953_7998_c4a801d47e45 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java lines 273–282
@Test
public void receivingGoAwayFailsNewStreamIfMaxConcurrentStreamsReached() throws Http2Exception {
setMaxConcurrentStreams(1);
encoderWriteHeaders(3, newPromise());
connection.goAwayReceived(11, 8, EMPTY_BUFFER);
ChannelFuture f = encoderWriteHeaders(5, newPromise());
assertInstanceOf(Http2GoAwayException.class, f.cause());
assertEquals(0, encoder.numBufferedStreams());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does receivingGoAwayFailsNewStreamIfMaxConcurrentStreamsReached() do?
receivingGoAwayFailsNewStreamIfMaxConcurrentStreamsReached() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java.
Where is receivingGoAwayFailsNewStreamIfMaxConcurrentStreamsReached() defined?
receivingGoAwayFailsNewStreamIfMaxConcurrentStreamsReached() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java at line 273.
What does receivingGoAwayFailsNewStreamIfMaxConcurrentStreamsReached() call?
receivingGoAwayFailsNewStreamIfMaxConcurrentStreamsReached() calls 1 function(s): setMaxConcurrentStreams.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free