Skip to content

refactor(h2): code structure improvements for maintainability #1216

Closed

Description

@FlorentinDUBOIS

Several code structure improvements identified in PR #1209 review that are too large for the initial merge:

Reference: PR #1209 simplification analysis #6, #7, #9, #10, #12.

Activity

  1. added
    h2-mux
    on Mar 14, 2026
  2. FlorentinDUBOIS commented on Mar 14, 2026

    @FlorentinDUBOIS
    CollaboratorAuthor

    Implemented across 7917fee and fc606d2 on feat/h2-mux. Extracted default_answer_for_code() helper, handle_header_state(), handle_continuation_header_state(), and write_streams() private methods. readable() reduced from ~420 to ~213 lines, writable() from ~310 to ~75 lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementh2-mux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions