8168261: Use server cipher suites preference by default

Reviewed-by: mullan
This commit is contained in:
Xue-Lei Andrew Fan 2019-04-01 16:50:17 -07:00
parent 07991d3f2d
commit 2eb8492163
3 changed files with 123 additions and 4 deletions

View file

@ -126,7 +126,7 @@ final class SSLConfiguration implements Cloneable {
this.identificationProtocol = null;
this.serverNames = Collections.<SNIServerName>emptyList();
this.sniMatchers = Collections.<SNIMatcher>emptyList();
this.preferLocalCipherSuites = false;
this.preferLocalCipherSuites = true;
this.applicationProtocols = new String[0];
this.enableRetransmissions = sslContext.isDTLS();