Skip to content

[FEATURE] Multiplexing Multiple Streams over One Connection #100

@gimlet2

Description

@gimlet2

Feature Description

Support multiplexing of multiple HTTP2 streams over a single TCP connection.

Problem/Use Case

Multiplexing is a core HTTP2 feature that allows concurrent streams, reducing latency and improving resource utilization.

Proposed Solution

  • Implement stream identifiers and lifecycle management
  • Enable interleaved frames for multiple streams
  • Handle stream state transitions per RFC 7540

Code Example

server.openStream(streamId = 1)
server.openStream(streamId = 3)
server.sendFrameToStream(streamId = 1, ...)

Alternatives Considered

  • Sequential stream processing (HTTP/1.x model)

Additional Context

  • Would this be a breaking change? Yes
  • Priority: High
  • Related to HTTP2 support #3 HTTP2 support

Related Issues/PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions