Skip to content

refactor(h2): group ConnectionH2 fields into logical sub-structs #1214

Closed

Description

@FlorentinDUBOIS

ConnectionH2 has 27+ fields. Group related fields into sub-structs for readability:

  • FlowControl: window, received_bytes_since_update, pending_window_updates
  • ByteAccounting: zero_bytes_read, overhead_bin, overhead_bout
  • Security: flood_detector, pending_rst_streams, rst_sent
  • Draining: draining, peer_last_stream_id
  • HPACK: decoder, encoder, converter_buf, lowercase_buf
  • Settings: local_settings, peer_settings, settings_sent_at

Reference: PR #1209 review finding G-15.

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