Skip to content

Validate HEADERS priority self-dependency#652

Merged
arturobernalg merged 1 commit intoapache:masterfrom
arturobernalg:h2-headers-priority-self-dependency
Mar 13, 2026
Merged

Validate HEADERS priority self-dependency#652
arturobernalg merged 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
@arturobernalg arturobernalg merged commit e1ebe30 into apache:master Mar 13, 2026
10 checks passed
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.

2 participants