mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-2.0' into cassandra-2.1
This commit is contained in:
commit
9d6afb4b75
|
|
@ -466,7 +466,7 @@ public final class MessagingService implements MessagingServiceMBean
|
|||
InetSocketAddress address = new InetSocketAddress(localEp, DatabaseDescriptor.getStoragePort());
|
||||
try
|
||||
{
|
||||
socket.bind(address);
|
||||
socket.bind(address,500);
|
||||
}
|
||||
catch (BindException e)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ public final class SSLFactory
|
|||
String[] suits = filterCipherSuites(serverSocket.getSupportedCipherSuites(), options.cipher_suites);
|
||||
serverSocket.setEnabledCipherSuites(suits);
|
||||
serverSocket.setNeedClientAuth(options.require_client_auth);
|
||||
serverSocket.bind(new InetSocketAddress(address, port), 100);
|
||||
serverSocket.bind(new InetSocketAddress(address, port), 500);
|
||||
return serverSocket;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue