From 826a6c7567a1e7bb65a6971182b51f203abb8154 Mon Sep 17 00:00:00 2001 From: Gravit Date: Mon, 25 Mar 2019 04:35:32 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=A2=D0=B0=D0=B9=D0=BC=D0=B0=D1=83?= =?UTF-8?q?=D1=82=20=D1=81=D0=BE=D0=B5=D0=B4=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B2=2030=20=D1=81=D0=B5=D0=BA=D1=83=D0=BD=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/ru/gravit/launcher/client/ClientLauncher.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java index cb7e5934..2bfead8d 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java +++ b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java @@ -310,6 +310,7 @@ public static Process launch( try (ServerSocket socket = new ServerSocket()) { socket.setReuseAddress(true); + socket.setSoTimeout(30000); socket.bind(new InetSocketAddress(SOCKET_HOST, SOCKET_PORT)); Socket client = socket.accept(); if (process == null) {