Only client should issue an SSL handshake #2833

This commit is contained in:
Endre Sándor Varga 2013-01-08 14:05:55 +01:00
parent 7944b456fc
commit 695fe02e58

View file

@ -248,7 +248,7 @@ class NettyTransport(private val settings: NettyTransportSettings, private val s
private def sslHandler(isClient: Boolean): SslHandler = {
val handler = NettySSLSupport(settings.SslSettings.get, log, isClient)
handler.setIssueHandshake(true)
if (isClient) handler.setIssueHandshake(true)
handler
}