-
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
allow for sni enabled endpoints re issue #337 #391
base: master
Are you sure you want to change the base?
Conversation
sslParameters.setServerNames(sniServerNames); | ||
myEngine.setSSLParameters(sslParameters); | ||
} catch (MalformedURLException e) { | ||
e.printStackTrace(); |
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.
Use a logger
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.
added logger
URL url = null; | ||
if(null!=getRxClients()) { | ||
try { | ||
Server server = getRxClients().entrySet().iterator().next().getKey(); |
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.
Some dough that is correct to get only the first one
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.
gather all hosts
This was the bare minimum I could touch to get rxClients to work with SNI enabled (enforced) endpoints.