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

Add HttpScheme Support in HttpToHttp2ConnectionHandler #10641

Merged
merged 4 commits into from Nov 5, 2020

Conversation

hyperxpro
Copy link
Contributor

@hyperxpro hyperxpro commented Oct 6, 2020

Motivation:
We should have a method to add HttpScheme if HttpResponse does not contain x-http2-scheme then we should use add it if HttpToHttp2ConnectionHandler is build using specified HttpScheme.

Modification:
Added HttpScheme in HttpToHttp2ConnectionHandlerBuilder.

Result:
Automatically add HttpScheme if missing in HttpResponse.

@netty-bot
Copy link

Can one of the admins verify this patch?

@chrisvest
Copy link
Contributor

@netty-bot test this please

@hyperxpro
Copy link
Contributor Author

@chrisvest https://ci.netty.io/ is returning 502 Bad Gateway response. Looks like the CI server is down.

@normanmaurer Do you have any updates on the CI server?

@hyperxpro
Copy link
Contributor Author

Ready to merge. :D

@normanmaurer
Copy link
Member

@netty-bot test this please

@normanmaurer normanmaurer added this to the 4.1.54.Final milestone Nov 5, 2020
@normanmaurer
Copy link
Member

@netty-bot test this please

1 similar comment
@normanmaurer
Copy link
Member

@netty-bot test this please

@hyperxpro
Copy link
Contributor Author

Looks like some problem with CI for Java 11.

@normanmaurer normanmaurer merged commit 76d5cdb into netty:4.1 Nov 5, 2020
normanmaurer pushed a commit that referenced this pull request Nov 5, 2020
Motivation:
We should have a method to add `HttpScheme` if `HttpRequest` does not contain `x-http2-scheme` then we should use add it if `HttpToHttp2ConnectionHandler` is build using specified `HttpScheme`.

Modification:
Added `HttpScheme` in `HttpToHttp2ConnectionHandlerBuilder`.

Result:
Automatically add `HttpScheme` if missing in `HttpRequest`.
@hyperxpro hyperxpro deleted the h2s branch November 5, 2020 15:38
raidyue pushed a commit to raidyue/netty that referenced this pull request Jul 8, 2022
Motivation:
We should have a method to add `HttpScheme` if `HttpRequest` does not contain `x-http2-scheme` then we should use add it if `HttpToHttp2ConnectionHandler` is build using specified `HttpScheme`.

Modification:
Added `HttpScheme` in `HttpToHttp2ConnectionHandlerBuilder`.

Result:
Automatically add `HttpScheme` if missing in `HttpRequest`.
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.

None yet

4 participants