Home / Function/ handleHttp3GoAwayFrame() — netty Function Reference

handleHttp3GoAwayFrame() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  b709faf7_6fde_28f8_c2b5_909b643ca464["handleHttp3GoAwayFrame()"]
  482a62ae_e5d4_afc5_e7a7_ded7c1b1758a["Http3ControlStreamInboundHandler"]
  b709faf7_6fde_28f8_c2b5_909b643ca464 -->|defined in| 482a62ae_e5d4_afc5_e7a7_ded7c1b1758a
  e1f1a7ae_5b21_5e0c_4d99_5ac309dfe1d9["channelRead()"]
  e1f1a7ae_5b21_5e0c_4d99_5ac309dfe1d9 -->|calls| b709faf7_6fde_28f8_c2b5_909b643ca464
  bdb44f5b_93a9_3f66_dff0_5b4f9abcd0ea["forwardControlFrames()"]
  b709faf7_6fde_28f8_c2b5_909b643ca464 -->|calls| bdb44f5b_93a9_3f66_dff0_5b4f9abcd0ea
  style b709faf7_6fde_28f8_c2b5_909b643ca464 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandler.java lines 161–175

    private boolean handleHttp3GoAwayFrame(ChannelHandlerContext ctx, Http3GoAwayFrame goAwayFrame) {
        long id = goAwayFrame.id();
        if (!server && id % 4 != 0) {
            connectionError(ctx, H3_FRAME_UNEXPECTED, "GOAWAY received with ID of non-request stream.",
                    forwardControlFrames());
            return false;
        }
        if (receivedGoawayId != null && id > receivedGoawayId) {
            connectionError(ctx, H3_ID_ERROR,
                    "GOAWAY received with ID larger than previously received.", forwardControlFrames());
            return false;
        }
        receivedGoawayId = 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/Http3ControlStreamInboundHandler.java.
Where is handleHttp3GoAwayFrame() defined?
handleHttp3GoAwayFrame() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandler.java at line 161.
What does handleHttp3GoAwayFrame() call?
handleHttp3GoAwayFrame() calls 1 function(s): forwardControlFrames.
What calls handleHttp3GoAwayFrame()?
handleHttp3GoAwayFrame() is called by 1 function(s): channelRead.

Analyze Your Own Codebase

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

Try Supermodel Free