hyperium / hyperium/h2

Sending large body chunks (2GB+) are wrongly rejected

Open
#471 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
1.6k
Forks
382
Avg merge
20h 23m
Merged PRs (30d)
9

Description

Sending of chunks wrongly compares their size to the MAX_WINDOW_SIZE, which is just plain wrong.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the code that checks sent chunk sizes against MAX_WINDOW_SIZE. Trace how large body chunks are handled, then add a regression test covering chunks of 2GB or more and confirm that valid chunks are no longer rejected.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.