Skip to content

HTTP/2: reject pseudo-headers in trailers#623

Merged
arturobernalg merged 1 commit intoapache:masterfrom
arturobernalg:trailerHeaderFields
Feb 18, 2026
Merged

HTTP/2: reject pseudo-headers in trailers#623
arturobernalg merged 1 commit intoapache:masterfrom
arturobernalg:trailerHeaderFields

Conversation

@arturobernalg
Copy link
Member

No description provided.

}
}

static void verifyOutbound(final List<? extends Header> trailers) throws H2ConnectionException {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arturobernalg Use H2ConnectionException everywhere and eliminate the other method.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ok2c changed

Copy link
Member

@ok2c ok2c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arturobernalg Please give this pull request a more descriptive title.

@arturobernalg arturobernalg changed the title Trailer header fields HTTP/2: reject pseudo-headers in trailers Feb 18, 2026
Reject pseudo-headers in inbound and outbound trailers
@arturobernalg arturobernalg merged commit 0e96329 into apache:master Feb 18, 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