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

[UNDERTOW-1834] Fix for IBM JDK and HTTP2/ALPN. #1026

Merged
merged 1 commit into from Apr 1, 2021

Conversation

jstourac
Copy link
Contributor

https://issues.redhat.com/browse/UNDERTOW-1834

There is a difference in IBM JDK TLS ciphersuite names versus their
Oracle JDK counterparts, see e.g. [1].

This discrepancy causes issue in usage of HTTP2 with IBM JDK since
we check enabled ciphersuite based on the name in Oracle JDK variant
only. So if there is an incomming connection from client that offers
IBM names of the ciphersuite, we simply fail to use ALPN and HTTP2
with it consequently.

This change should fix such issue.

[1] https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.0.0/com.ibm.mq.dev.doc/q113210_.htm

@jstourac
Copy link
Contributor Author

Well, I went through the failed tests and I don't think they are related to changes in this PR.

@fl4via fl4via added bug fix Contains bug fix(es) under verification Currently being verified (running tests, reviewing) before posting a review to contributor labels Feb 2, 2021
@fl4via
Copy link
Member

fl4via commented Feb 2, 2021

@jstourac I'll carefully review this in light of what has been said in the Jira.
ditto for the test failures, I hope we can see them gone within the next months, as we are working on them between tasks, but I look forward to have them all passing soon.

There is a difference in IBM JDK TLS ciphersuite names versus their
Oracle JDK counterparts, see e.g. [1].

This discrepancy causes issue in usage of HTTP2 with IBM JDK since
we check enabled ciphersuite based on the name in Oracle JDK variant
only. So if there is an incomming connection from client that offers
IBM names of the ciphersuite, we simply fail to use ALPN and HTTP2
with it consequently.

This change should fix such issue.

[1] https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.0.0/com.ibm.mq.dev.doc/q113210_.htm
@jstourac
Copy link
Contributor Author

just rebased, no code changes

Copy link
Contributor

@ropalka ropalka left a comment

Choose a reason for hiding this comment

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

LGTM

@ropalka ropalka added next release This PR will be merged before next release or has already been merged (for payload double check) and removed under verification Currently being verified (running tests, reviewing) before posting a review to contributor labels Apr 1, 2021
@ropalka ropalka merged commit 2abb6a2 into undertow-io:master Apr 1, 2021
@jstourac jstourac deleted the Http2Ibm branch April 18, 2021 17:51
@fl4via fl4via removed the next release This PR will be merged before next release or has already been merged (for payload double check) label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Contains bug fix(es)
Projects
None yet
3 participants