Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b014094 authored by Andy Scherzinger's avatar Andy Scherzinger Committed by GitHub
Browse files

Merge pull request #43 from nextcloud/socket-check

Socket check
parents 9bf41f04 d118c8ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -178,7 +178,7 @@ public class AdvancedSslSocketFactory implements SecureProtocolSocketFactory {
        enableSecureProtocols(socket);
        SocketAddress localaddr = new InetSocketAddress(localAddress, localPort);
        SocketAddress remoteaddr = new InetSocketAddress(host, port);
        socket.setSoTimeout(params.getSoTimeout());
        socket.setSoTimeout(params.getSoTimeout() * 5);
        socket.bind(localaddr);
        ServerNameIndicator.setServerNameIndication(host, (SSLSocket)socket);
        socket.connect(remoteaddr, timeout);