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

Commit 653038b5 authored by Mario Danic's avatar Mario Danic
Browse files

Socket timeout should be higher

parent 2d66d8a1
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() * 2);
        socket.setSoTimeout(params.getSoTimeout() * 5);
        socket.bind(localaddr);
        ServerNameIndicator.setServerNameIndication(host, (SSLSocket)socket);
        socket.connect(remoteaddr, timeout);