Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow the 'host' header to be used on HTTP/2 requests if the ':authority' header if missing #5426

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from

Conversation

j-white
Copy link

@j-white j-white commented Dec 19, 2024

here's a take at solving the issue

happy to take feedback and adjust the solution as needed

see #5425 for context


private void testValidRequestHeaders(Http2Headers headers) throws Exception {
server.requestHandler(req -> {
testComplete();
Copy link
Member

Choose a reason for hiding this comment

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

I think we need to check the authority value here is present and its value

Copy link
Author

Choose a reason for hiding this comment

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

good point. done.

…ity' header if missing

see eclipse-vertx#5425

Signed-off-by: Jesse White <1379749+j-white@users.noreply.github.com>
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