Home / Function/ streamAbandoned() — netty Function Reference

streamAbandoned() — netty Function Reference

Architecture documentation for the streamAbandoned() function in QpackDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  04f9aee1_5490_94cd_ccfb_00da08de6e7a["streamAbandoned()"]
  90fa2d3f_8d04_4c74_e2ce_52229be77194["QpackDecoder"]
  04f9aee1_5490_94cd_ccfb_00da08de6e7a -->|defined in| 90fa2d3f_8d04_4c74_e2ce_52229be77194
  style 04f9aee1_5490_94cd_ccfb_00da08de6e7a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/QpackDecoder.java lines 232–244

    void streamAbandoned(QuicStreamChannel qpackDecoderStream, long streamId) {
        if (maxTableCapacity == 0) {
            return;
        }
        // https://www.rfc-editor.org/rfc/rfc9204.html#section-4.4.2
        //   0   1   2   3   4   5   6   7
        // +---+---+---+---+---+---+---+---+
        // | 0 | 1 |     Stream ID (6+)    |
        // +---+---+-----------------------+
        final ByteBuf cancel = qpackDecoderStream.alloc().buffer(8);
        encodePrefixedInteger(cancel, (byte) 0b0100_0000, 6, streamId);
        closeOnFailure(qpackDecoderStream.writeAndFlush(cancel));
    }

Domain

Subdomains

Frequently Asked Questions

What does streamAbandoned() do?
streamAbandoned() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackDecoder.java.
Where is streamAbandoned() defined?
streamAbandoned() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackDecoder.java at line 232.

Analyze Your Own Codebase

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

Try Supermodel Free