kottpd icon indicating copy to clipboard operation
kottpd copied to clipboard

[FEATURE] Stream Prioritization for HTTP2

Open gimlet2 opened this issue 3 months ago • 0 comments

Feature Description

Support stream prioritization using weights and dependency tree as defined in HTTP2.

Problem/Use Case

Allows clients to specify which streams are more important, optimizing resource usage and response times.

Proposed Solution

  • Implement PRIORITY frames
  • Support weight and dependency assignment for streams
  • Make prioritization advisory but respected when possible

Code Example

server.setStreamPriority(streamId = 1, weight = 220, dependsOn = 3)

Alternatives Considered

  • No prioritization; FIFO processing

Additional Context

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

Related Issues/PRs

  • #3 HTTP2 support

gimlet2 avatar Oct 29 '25 21:10 gimlet2