Skip to content

Commit

Permalink
[misc] correction of regression using TLSv1.2 before complete handlin…
Browse files Browse the repository at this point in the history
…g (CONJ-249)
  • Loading branch information
rusher committed Jun 8, 2016
1 parent 411851a commit 8be3a45
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -437,7 +437,7 @@ private void handleConnectionPhases() throws QueryException {
SSLSocketFactory sslSocketFactory = getSslSocketFactory();
SSLSocket sslSocket = (SSLSocket) sslSocketFactory.createSocket(socket,
socket.getInetAddress().getHostAddress(), socket.getPort(), true);

sslSocket.setEnabledProtocols(new String[]{"TLSv1"});
sslSocket.setUseClientMode(true);
sslSocket.startHandshake();
socket = sslSocket;
Expand Down

0 comments on commit 8be3a45

Please sign in to comment.