Panic due to the max headers capacity
Open
Nobody has claimed this yet.
bug
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 382
- Avg merge
- 20h 23m
- Merged PRs (30d)
- 9
Description
This method https://github.com/hyperium/h2/blob/6a75f232330374d5f329aaae91afc2dee7ed2b1f/src/frame/headers.rs#L830-L922 panics if the number of headers is too high
It's directly related to https://github.com/hyperium/http/issues/603
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/frame/headers.rs at lines 830-922 and review the related hyperium/http issue #603 to understand the max-headers-capacity interaction. Reproduce or inspect the reported panic, then verify that excessive header counts no longer cause this method to panic.
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
- 35/100