Repository navigation
Ensure we support ALPN when using java 8u251 - #10196
Conversation
Motivation: ALPN support was backported to java 8 lately. Ensure we support it if the user uses the latest java 8 release Modifications: - Update logic to be able to detect if ALPN is supported out of the box when using Java8 - Update jetty alpn version Result: Be able to use ALPN out of the box when using java 8u251
|
@cescoffier PTAL |
|
@normanmaurer Thanks! LGTM! Going to do a quick check with Quarkus. |
|
@cescoffier thanks... let me know how it goes... |
54ec65e to
4fd5519
Compare
|
@slandelle PTAL again |
|
LGTM |
|
@cescoffier any update ? I am thinking about pulling this in and release a new version tomorrow if all works :) |
|
@normanmaurer Unfortunately, not much, it seems that we need to integrate it in Vert.x first (at the moment Quarkus does not start with the version built from the PR (on Java 8, but does on Java 11)). |
|
@cescoffier can you give me some idea why you need to do any changes in Vert.x first ? |
|
@normanmaurer so-called hamburger architecture: Quarkus is based on Vert.x which is based on Netty. I've forced the Netty version in Quarkus, but tests are not passing. So, my guess is that we would need to check if Vert.x works with this version. |
|
@cescoffier ok... please let me know once you tested vert.x |
|
@vietj is on it. |
|
@normanmaurer I will check on vertx side how it works with various combination of JDK |
|
I tested with:
and the following combinations of SSL:
It looks to work as expected in all cases target cases but has odd behaviour in two cases with the Jetty ALPN Agent 2.0.10. On java version "1.8.0_181" (Oracle) + Jetty ALPN Agent we can spot this error in the log (SSL still works): On java1.8.0_251 (Oracle with ALPN support) + Jetty ALPN Agent we get this error which prevent SSL to work (however this works fine with OpenJDK 1.8.0_252) |
|
@vietj I fixed the logging problem... For the other issue I suspect you will need to talk with the jetty-alpn folks or you disagree ? |
|
@normanmaurer I don't see the other as an issue to me, I'm just reporting my findings :-) however I will report it to Jetty ALPN project nevertheless |
|
@vietj ok cool... I guess with this info this PR is ready to go... correct @vietj @cescoffier ? |
|
@normanmaurer it looks to me but @cescoffier might want to do more tests |
|
Yes, I will run some tests just after lunch.
…On 21 Apr 2020 at 11:57 +0200, Julien Viet ***@***.***>, wrote:
@normanmaurer it looks to me but @cescoffier might want to do more tests
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
@cescoffier thanks a lot... |
|
@normanmaurer Thanks to @vietj, we were able to test Quarkus and everything is ok! |
|
@cescoffier @vietj thanks a lot! |
Motivation: ALPN support was backported to java 8 lately. Ensure we support it if the user uses the latest java 8 release Modifications: - Update logic to be able to detect if ALPN is supported out of the box when using Java8 - Update jetty alpn version Result: Be able to use ALPN out of the box when using java 8u251
Motivation: ALPN support was backported to java 8 lately. Ensure we support it if the user uses the latest java 8 release Modifications: - Update logic to be able to detect if ALPN is supported out of the box when using Java8 - Update jetty alpn version Result: Be able to use ALPN out of the box when using java 8u251
Motivation:
ALPN support was backported to java 8 lately. Ensure we support it if the user uses the latest java 8 release
Modifications:
Result:
Be able to use ALPN out of the box when using java 8u251