From 380835365357d59372e0ce0660b1db298468b4ae Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 22 Aug 2022 19:52:09 -0400 Subject: [PATCH] FullServerTest should not depend on very fresh .ini from internet fix #4462 --- .../java/com/rusefi/server/ControllerConnectionState.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java_tools/proxy_server/src/main/java/com/rusefi/server/ControllerConnectionState.java b/java_tools/proxy_server/src/main/java/com/rusefi/server/ControllerConnectionState.java index 5b8e2fbe41..fd8769542b 100644 --- a/java_tools/proxy_server/src/main/java/com/rusefi/server/ControllerConnectionState.java +++ b/java_tools/proxy_server/src/main/java/com/rusefi/server/ControllerConnectionState.java @@ -42,7 +42,6 @@ public class ControllerConnectionState { private final SensorsHolder sensorsHolder = new SensorsHolder(); private final Birthday birthday = new Birthday(); private int outputRoundAroundDuration; - private final IniFileModel iniFileModel = new IniFileModel(); public ControllerConnectionState(Socket clientSocket, UserDetailsResolver userDetailsResolver) { this.clientSocket = clientSocket; @@ -110,9 +109,10 @@ public class ControllerConnectionState { Pair p = SignatureHelper.getUrl(sessionDetails.getControllerInfo().getSignature()); if (p == null) throw new IOException("Invalid signature response"); - String localFileName = SignatureHelper.downloadIfNotAvailable(p); - if (localFileName == null) - throw new IOException("Unable to download " + p.second + " from " + p.first); +// todo: revisit https://github.com/rusefi/rusefi/issues/4462 if ever uncommenting +// String localFileName = SignatureHelper.downloadIfNotAvailable(p); +// if (localFileName == null) +// throw new IOException("Unable to download " + p.second + " from " + p.first); // iniFileModel.readIniFile(localFileName); controllerKey = new ControllerKey(userDetails.getUserId(), sessionDetails.getControllerInfo());