-
Notifications
You must be signed in to change notification settings - Fork 325
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 support for HTTP/2+TLS on client and server sides #1156
Conversation
cc @electrum |
With the |
Fyi @sajjoseph |
Replaces #1146 |
http-client/src/main/java/io/airlift/http/client/jetty/JettyHttpClient.java
Outdated
Show resolved
Hide resolved
http-client/src/main/java/io/airlift/http/client/HttpVersion.java
Outdated
Show resolved
Hide resolved
http-server/src/main/java/io/airlift/http/server/testing/TestingHttpServer.java
Outdated
Show resolved
Hide resolved
http-server/src/test/java/io/airlift/http/server/testing/TestTestingHttps2Server.java
Outdated
Show resolved
Hide resolved
http-server/src/test/java/io/airlift/http/server/testing/TestTestingHttps2Server.java
Outdated
Show resolved
Hide resolved
http-server/src/test/java/io/airlift/http/server/testing/TestTestingHttps2Server.java
Outdated
Show resolved
Hide resolved
assertEquals(version, testedHttpVersion()); | ||
} | ||
|
||
// TLS connections seem to have some conditions that do not respect timeouts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's file issues for these. Hopefully easy for them since we have a reproduction.
@wendigo I think that makes sense. We added HTTP/2 support originally before Java supported ALPN and it was intended for use with "h2c" (unencrypted) so the flag was needed as negotiation wasn't possible. Though we should default it to enabled first and leave the config around as a failsafe. |
1979714
to
442ec74
Compare
@electrum ptal |
cf5e0d3
to
6f01099
Compare
17bcf69
to
f1bff76
Compare
There is H2C client failure that seems to be caused by Jetty client code. Reported back. |
6fcac23
to
8bc914d
Compare
8bc914d
to
befdd67
Compare
Addresses trinodb/trino#21793