FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Reject conflicting duplicate Content-Length headers by Mirochill · Pull Request #1319 · python-hyper/h2 · GitHub

Reject conflicting duplicate Content-Length headers - #1319

Closed
Mirochill wants to merge 1 commit into
python-hyper:masterfrom
Mirochill:fix-1316-duplicate-content-length
Closed

Reject conflicting duplicate Content-Length headers#1319
Mirochill wants to merge 1 commit into
python-hyper:masterfrom
Mirochill:fix-1316-duplicate-content-length

Conversation

Mirochill commented May 19, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Summary

  • validate all inbound content-length header fields before initializing the expected body length
  • accept duplicate content-length headers only when all values agree
  • add coverage for matching and conflicting duplicate content-length request headers

Closes #1316.

Validation

  • git diff --check
  • Not run locally

Copy link
Copy Markdown
Contributor Author

I missed that #1317 was already actively covering this issue. Closing this draft to avoid duplicating review effort; #1317 has the maintainer discussion and remote checks attached. Sorry for the noise.

Mirochill closed this May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reject conflicting duplicate Content-Length headers

1 participant


Back | FazBrowse Home | New Git URL