| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:9beb6d5c-ff0d-1103-cafd-9a8617042df5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 93BE:196D17:CF6793:1236DE9:6B06ED0E |
| html-safe-nonce | 447c07f8cf699979278ff3366f727531848f2fcbf1f6576b0d735648d4947380 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0JFOjE5NkQxNzpDRjY3OTM6MTIzNkRFOTo2QjA2RUQwRSIsInZpc2l0b3JfaWQiOiIxODAwNjUyNzY5OTIyMDUxMzQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c138d63860e3d5419ea638e4cdaf175696caab3d6869e726bb6047c58da0324f |
| hovercard-subject-tag | pull_request:4643111082 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-hyper/h2/1329/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d7c1abe9e0162fbdcd0a0e2b9160fbd93e00f5ada8f833af595ccf602ca600b9/python-hyper/h2/pull/1329 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d7c1abe9e0162fbdcd0a0e2b9160fbd93e00f5ada8f833af595ccf602ca600b9/python-hyper/h2/pull/1329 |
| og:image:alt | Fixes #1328
Description
A stream that ends with a trailers section never had its content-length policed, and a content-length in the trailers was accepted as if it were the one from the header sect... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | feiiiiii5 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b |
| turbo-cache-control | no-cache |
| go-import | github.com/python-hyper/h2 git https://github.com/python-hyper/h2.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 37996233 |
| octolytics-dimension-repository_nwo | python-hyper/h2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 37996233 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/h2 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af8913cd0f2f77c41796be449ac66a9108825abc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python-hyper/h2/pull/1329#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Fh2%2Fpull%2F1329 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Fh2%2Fpull%2F1329 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python-hyper%2Fh2 |
| Reload | https://github.com/python-hyper/h2/pull/1329 |
| Reload | https://github.com/python-hyper/h2/pull/1329 |
| Reload | https://github.com/python-hyper/h2/pull/1329 |
| python-hyper | https://github.com/python-hyper |
| h2 | https://github.com/python-hyper/h2 |
| Code | https://github.com/python-hyper/h2 |
| Issues21 (21) | https://github.com/python-hyper/h2/issues |
| Pull requests23 (23) | https://github.com/python-hyper/h2/pulls |
| Actions | https://github.com/python-hyper/h2/actions |
| Projects | https://github.com/python-hyper/h2/projects |
| Wiki | https://github.com/python-hyper/h2/wiki |
| Security and quality2 (2) | https://github.com/python-hyper/h2/security |
| Insights | https://github.com/python-hyper/h2/insights |
| https://github.com/python-hyper/h2 |
| feiiiiii5 | https://github.com/feiiiiii5 |
| python-hyper:master | https://github.com/python-hyper/h2/tree/master |
| feiiiiii5:fix/trailers-content-length | https://github.com/feiiiiii5/h2/tree/fix/trailers-content-length |
| Conversation | https://github.com/python-hyper/h2/pull/1329 |
| Commits5 (5) | https://github.com/python-hyper/h2/pull/1329/commits |
| Checks | https://github.com/python-hyper/h2/pull/1329/checks |
| Files changed | https://github.com/python-hyper/h2/pull/1329/files |
| Validate content-length when a stream ends with trailers | https://github.com/python-hyper/h2/pull/1329#top |
| feiiiiii5 | https://github.com/feiiiiii5 |
| python-hyper:master | https://github.com/python-hyper/h2/tree/master |
| feiiiiii5:fix/trailers-content-length | https://github.com/feiiiiii5/h2/tree/fix/trailers-content-length |
|
| https://github.com/feiiiiii5 |
| feiiiiii5 | https://github.com/feiiiiii5 |
| Sep 25, 2026 | https://github.com/python-hyper/h2/pull/1329#issue-5589036478 |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| #1328 | https://github.com/python-hyper/h2/issues/1328 |
| @Kriechi | https://github.com/Kriechi |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| https://github.com/Kriechi |
| Kriechi | https://github.com/Kriechi |
| Sep 26, 2026 | https://github.com/python-hyper/h2/pull/1329#issuecomment-5845942108 |
| https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Trailer#directives | https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Trailer#directives |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| https://github.com/feiiiiii5 |
| feiiiiii5 | https://github.com/feiiiiii5 |
| Sep 26, 2026 | https://github.com/python-hyper/h2/pull/1329#issuecomment-5846035017 |
| 753a5f3 | https://github.com/python-hyper/h2/commit/753a5f362685bcb07b382cac1ad4b0a83bb34722 |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| https://github.com/Kriechi |
| Kriechi | https://github.com/Kriechi |
|
Sep 26, 2026
| https://github.com/python-hyper/h2/pull/1329#pullrequestreview-5325835556 |
|
View reviewed changes
| https://github.com/python-hyper/h2/pull/1329/files |
| tests/test_invalid_content_lengths.py | https://github.com/python-hyper/h2/pull/1329/files#diff-60f56a0b596882ff8159d7cd5016e1296e299089ce5336de0286f23da9881144 |
| Kriechi | https://github.com/Kriechi |
| Sep 26, 2026 | https://github.com/python-hyper/h2/pull/1329#discussion_r4111301859 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| feiiiiii5 | https://github.com/feiiiiii5 |
| Oct 1, 2026 | https://github.com/python-hyper/h2/pull/1329#discussion_r4158511759 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| https://github.com/Kriechi |
| Kriechi | https://github.com/Kriechi |
|
Sep 26, 2026
| https://github.com/python-hyper/h2/pull/1329#pullrequestreview-5325835892 |
|
View reviewed changes
| https://github.com/python-hyper/h2/pull/1329/files |
| tests/test_invalid_content_lengths.py | https://github.com/python-hyper/h2/pull/1329/files#diff-60f56a0b596882ff8159d7cd5016e1296e299089ce5336de0286f23da9881144 |
| Kriechi | https://github.com/Kriechi |
| Sep 26, 2026 | https://github.com/python-hyper/h2/pull/1329#discussion_r4111302235 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| feiiiiii5 | https://github.com/feiiiiii5 |
| Oct 1, 2026 | https://github.com/python-hyper/h2/pull/1329#discussion_r4158511476 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| https://github.com/feiiiiii5 |
| feiiiiii5 | https://github.com/feiiiiii5 |
| Sep 26, 2026 | https://github.com/python-hyper/h2/pull/1329#issuecomment-5846448752 |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| @Kriechi | https://github.com/Kriechi |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| https://github.com/feiiiiii5 |
| feiiiiii5 | https://github.com/feiiiiii5 |
| Sep 27, 2026 | https://github.com/python-hyper/h2/pull/1329#issuecomment-5854761313 |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| https://github.com/feiiiiii5 |
| feiiiiii5 | https://github.com/feiiiiii5 |
|
Sep 27, 2026
| https://github.com/python-hyper/h2/pull/1329#ref-issue-5601832896 |
|
A 304 with content-length is accepted or rejected by framing alone
#1330
| https://github.com/python-hyper/h2/issues/1330 |
| https://github.com/feiiiiii5 |
| feiiiiii5 | https://github.com/feiiiiii5 |
| Sep 28, 2026 | https://github.com/python-hyper/h2/pull/1329#issuecomment-5863965497 |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| https://github.com/feiiiiii5 |
| feiiiiii5 | https://github.com/feiiiiii5 |
| Oct 1, 2026 | https://github.com/python-hyper/h2/pull/1329#issuecomment-5936990750 |
| @Kriechi | https://github.com/Kriechi |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| https://github.com/feiiiiii5 |
| feiiiiii5 | https://github.com/feiiiiii5 |
| Oct 17, 2026 | https://github.com/python-hyper/h2/pull/1329#issuecomment-6237726354 |
| @Kriechi | https://github.com/Kriechi |
| #1331 | https://github.com/python-hyper/h2/pull/1331 |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| https://github.com/feiiiiii5 |
| feiiiiii5 | https://github.com/feiiiiii5 |
| Oct 31, 2026 | https://github.com/python-hyper/h2/pull/1329#issuecomment-6542062816 |
| #1329 | https://github.com/python-hyper/h2/pull/1329 |
| #1328 | https://github.com/python-hyper/h2/issues/1328 |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
| feiiiiii5 | https://github.com/feiiiiii5 |
| October 31, 2026 13:30 | https://github.com/python-hyper/h2/pull/1329#commits-pushed-89064e1 |
|
| https://github.com/feiiiiii5 |
|
| https://github.com/Kriechi |
| Validate content-length when a stream ends with trailers | https://github.com/python-hyper/h2/pull/1329/commits/89064e1077859aadd22d37a3f71f65a4595d0449 |
| 89064e1 | https://github.com/python-hyper/h2/pull/1329/commits/89064e1077859aadd22d37a3f71f65a4595d0449 |
|
| https://github.com/feiiiiii5 |
|
| https://github.com/Kriechi |
| Validate content length before trailers | https://github.com/python-hyper/h2/pull/1329/commits/e1f7c12c03092c3eefc236dd3f9bd49d76c86684 |
| e1f7c12 | https://github.com/python-hyper/h2/pull/1329/commits/e1f7c12c03092c3eefc236dd3f9bd49d76c86684 |
|
| https://github.com/feiiiiii5 |
|
| https://github.com/Kriechi |
| Reject content-length in trailers, police body length there | https://github.com/python-hyper/h2/pull/1329/commits/a6ed24e1360f1d99e00b7969145d7a39ffb2573a |
| a6ed24e | https://github.com/python-hyper/h2/pull/1329/commits/a6ed24e1360f1d99e00b7969145d7a39ffb2573a |
|
| https://github.com/feiiiiii5 |
|
| https://github.com/Kriechi |
| Drop the redundant content-length-in-trailers check | https://github.com/python-hyper/h2/pull/1329/commits/0de1cfc5eed10cd1879ac9f3585ec833b6ca2a94 |
| 0de1cfc | https://github.com/python-hyper/h2/pull/1329/commits/0de1cfc5eed10cd1879ac9f3585ec833b6ca2a94 |
|
| https://github.com/feiiiiii5 |
|
| https://github.com/Kriechi |
| Reject a content-length header received in a trailer section | https://github.com/python-hyper/h2/pull/1329/commits/658b8b45d32e3a88d619080740ffa012fb53b927 |
| 658b8b4 | https://github.com/python-hyper/h2/pull/1329/commits/658b8b45d32e3a88d619080740ffa012fb53b927 |
| https://github.com/Kriechi |
| Kriechi | https://github.com/Kriechi |
| force-pushed | https://github.com/python-hyper/h2/compare/28cc3a5a03d1d20178889566db06423c6fcee09d..658b8b45d32e3a88d619080740ffa012fb53b927 |
| 28cc3a5 | https://github.com/python-hyper/h2/commit/28cc3a5a03d1d20178889566db06423c6fcee09d |
| 658b8b4 | https://github.com/python-hyper/h2/commit/658b8b45d32e3a88d619080740ffa012fb53b927 |
|
Compare
| https://github.com/python-hyper/h2/compare/28cc3a5a03d1d20178889566db06423c6fcee09d..658b8b45d32e3a88d619080740ffa012fb53b927 |
| October 31, 2026 12:30 | https://github.com/python-hyper/h2/pull/1329#event-34771033487 |
| https://github.com/Kriechi |
| Kriechi | https://github.com/Kriechi |
|
Oct 31, 2026
| https://github.com/python-hyper/h2/pull/1329#ref-pullrequest-6134649997 |
|
Reject a declared body that never arrives before stream end
#1342
| https://github.com/python-hyper/h2/pull/1342 |
| https://github.co/hiddenchars |
| https://github.com/python-hyper/h2/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Fh2%2Fpull%2F1329 |
|
| https://github.com/Kriechi |
|
Kriechi
| https://github.com/Kriechi |
|
| https://github.com/python-hyper/h2/pull/1329/files/753a5f362685bcb07b382cac1ad4b0a83bb34722 |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
|
content-length is not policed when a stream ends with a trailers section
| https://github.com/python-hyper/h2/issues/1328 |
| Please reload this page | https://github.com/python-hyper/h2/pull/1329 |
|
| https://github.com/feiiiiii5 |
|
| https://github.com/Kriechi |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |