This commit is contained in:
Clebert Suconic 2018-04-30 20:56:28 -04:00
commit d5be6111e5
1 changed files with 1 additions and 1 deletions

View File

@ -625,7 +625,7 @@ public class NettyConnector extends AbstractConnector {
@Override @Override
public SSLEngine run() { public SSLEngine run() {
if (verifyHost) { if (verifyHost) {
return context.createSSLEngine(host, port); return context.createSSLEngine(sniHost != null ? sniHost : host, port);
} else { } else {
return context.createSSLEngine(); return context.createSSLEngine();
} }