Home / Function/ handleHttp3MaxPushIdFrame() — netty Function Reference

handleHttp3MaxPushIdFrame() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandler.java lines 105–116

    private boolean handleHttp3MaxPushIdFrame(ChannelPromise promise, Http3MaxPushIdFrame maxPushIdFrame) {
        long id = maxPushIdFrame.id();

        // See https://datatracker.ietf.org/doc/html/draft-ietf-quic-http-32#section-7.2.7
        if (sentMaxPushId != null && id < sentMaxPushId) {
            promise.setFailure(new Http3Exception(Http3ErrorCode.H3_ID_ERROR, "MAX_PUSH_ID reduced limit."));
            return false;
        }

        sentMaxPushId = maxPushIdFrame.id();
        return true;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does handleHttp3MaxPushIdFrame() do?
handleHttp3MaxPushIdFrame() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandler.java.
Where is handleHttp3MaxPushIdFrame() defined?
handleHttp3MaxPushIdFrame() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandler.java at line 105.
What calls handleHttp3MaxPushIdFrame()?
handleHttp3MaxPushIdFrame() 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