-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Disable http2 by default for java8 #16964
Conversation
…nd higher as JDK9 which enables Http2 unsupported for JDK8. Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) ℹ️ |
crw-ci-test |
ci-test |
assembly/assembly-wsmaster-war/src/main/java/org/eclipse/che/api/deploy/WsMasterModule.java
Show resolved
Hide resolved
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) |
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.
I think this is OK. Setting this through a system property actually makes it non-overridable using env var, which I think is a good thing, because it is not supported on Java 8 anyway.
Please disregard this in favor of my other review...
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.
I'm not sure we should keep the possibility to make the http2 transport configurable by env var on java8...
assembly/assembly-wsmaster-war/src/main/java/org/eclipse/che/api/deploy/WsMasterModule.java
Outdated
Show resolved
Hide resolved
…8u251 and higher as JDK9 which enables Http2 unsupported for JDK8. Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1) |
* Disable http2 by default for java8. OkHttp wrongly detects JDK8u251 and higher as JDK9 which enables Http2 unsupported for JDK8. Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
What does this PR do?
Disable http2 by default for java8. OkHttp wrongly detects JDK8u251 and higher as JDK9 which enables Http2 unsupported for JDK8.
What issues does this PR fix or reference?
Workaround for #16944