Skip to content

Validate HEADERS priority self-dependency#652

Open
arturobernalg wants to merge 1 commit intoapache:masterfrom
arturobernalg:h2-headers-priority-self-dependency
Open

Validate HEADERS priority self-dependency#652
arturobernalg wants to merge 1 commit intoapache:masterfrom
arturobernalg:h2-headers-priority-self-dependency

Conversation

@arturobernalg
Copy link
Member

This PR validates HEADERS frames with the PRIORITY flag and rejects stream self-dependency.
A stream cannot depend on itself and must be treated as a stream error of type PROTOCOL_ERROR, per RFC 7540 section 5.3.1.

Treat HEADERS with PRIORITY that depends on the same stream as a stream-level PROTOCOL_ERROR
@arturobernalg arturobernalg requested a review from ok2c March 11, 2026 21:05
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.

1 participant