Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

[FEATURE] HPACK Header Compression for HTTP2 #101

@gimlet2

Description

@gimlet2

Feature Description

Implement HPACK header compression for HTTP2 requests and responses.

Problem/Use Case

Header compression reduces bandwidth usage and improves performance, especially for repetitive headers.

Proposed Solution

  • Integrate HPACK encoder/decoder
  • Manage static and dynamic tables
  • Support Huffman encoding

Code Example

val compressed = hpack.encodeHeaders(headers)
val headers = hpack.decodeHeaders(compressed)

Alternatives Considered

  • Uncompressed headers (not compliant)

Additional Context

  • Would this be a breaking change? No
  • 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