Skip to content

Tests: HTTP/3 reserved frame type on a request stream - #96

Open
tahmid-23 wants to merge 1 commit into
nginx:masterfrom
tahmid-23:fix/h3-parse-skip-length
Open

Tests: HTTP/3 reserved frame type on a request stream#96
tahmid-23 wants to merge 1 commit into
nginx:masterfrom
tahmid-23:fix/h3-parse-skip-length

Conversation

@tahmid-23

Copy link
Copy Markdown

Proposed changes

This provides regression tests against the bug presented in nginx/nginx#1624 by using reserved frames.

Checklist

  • I have read the contributing guidelines.
  • I have signed the F5 Contributor License Agreement (CLA).
  • If applicable, I have added tests that prove my fix is effective or that my feature works.
  • If applicable, I have checked that any relevant tests pass after adding my changes.
  • I have updated any relevant documentation. (n/a)

Added tests for a reserved frame (RFC 9114, Section 7.2.8) sent on a
request stream whose body is read: with a payload after the body,
between two DATA frames, and with an empty payload.  Without the
corresponding fix, the first two are rejected as a prematurely closed
stream and the second splices frame header bytes into the request body.

A h3_frame() helper is added to send a frame of an arbitrary type.
@tahmid-23
tahmid-23 force-pushed the fix/h3-parse-skip-length branch from df12499 to cb4543e Compare August 26, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

2 participants