Home / Function/ handleHttp3GoAwayFrame() — netty Function Reference

handleHttp3GoAwayFrame() — netty Function Reference

Architecture documentation for the handleHttp3GoAwayFrame() function in Http3ControlStreamOutboundHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  81a48989_57e3_2274_b5c8_7a237c2724a7["handleHttp3GoAwayFrame()"]
  ac9fda69_8958_1431_6c61_8addd3cb4262["Http3ControlStreamOutboundHandler"]
  81a48989_57e3_2274_b5c8_7a237c2724a7 -->|defined in| ac9fda69_8958_1431_6c61_8addd3cb4262
  d88fa1e7_08f0_2f10_e0d6_0aba2015f5dd["write()"]
  d88fa1e7_08f0_2f10_e0d6_0aba2015f5dd -->|calls| 81a48989_57e3_2274_b5c8_7a237c2724a7
  style 81a48989_57e3_2274_b5c8_7a237c2724a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandler.java lines 118–136

    private boolean handleHttp3GoAwayFrame(ChannelPromise promise, Http3GoAwayFrame goAwayFrame) {
        long id = goAwayFrame.id();

        // See https://tools.ietf.org/html/draft-ietf-quic-http-32#section-5.2
        if (server && id % 4 != 0) {
            promise.setFailure(new Http3Exception(Http3ErrorCode.H3_ID_ERROR,
                    "GOAWAY id not valid : " + id));
            return false;
        }

        if (sendGoAwayId != null && id > sendGoAwayId) {
            promise.setFailure(new Http3Exception(Http3ErrorCode.H3_ID_ERROR,
                    "GOAWAY id is bigger then the last sent: " + id + " > " + sendGoAwayId));
            return false;
        }

        sendGoAwayId = id;
        return true;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does handleHttp3GoAwayFrame() do?
handleHttp3GoAwayFrame() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandler.java.
Where is handleHttp3GoAwayFrame() defined?
handleHttp3GoAwayFrame() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandler.java at line 118.
What calls handleHttp3GoAwayFrame()?
handleHttp3GoAwayFrame() is called by 1 function(s): write.

Analyze Your Own Codebase

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

Try Supermodel Free