From fe7a2c694136f07dec1e2e3f16cbdebd5337dcab Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Thu, 23 Aug 2018 16:18:53 +0200 Subject: [PATCH] Drop a few old commented lines --- TunnelKit/Sources/Core/CoreConfiguration.swift | 2 -- TunnelKit/Sources/Core/SessionProxy+SessionKey.swift | 5 ----- TunnelKit/Sources/Core/SessionProxy.swift | 1 - 3 files changed, 8 deletions(-) diff --git a/TunnelKit/Sources/Core/CoreConfiguration.swift b/TunnelKit/Sources/Core/CoreConfiguration.swift index d449be4..eec694c 100644 --- a/TunnelKit/Sources/Core/CoreConfiguration.swift +++ b/TunnelKit/Sources/Core/CoreConfiguration.swift @@ -16,8 +16,6 @@ struct CoreConfiguration { static let usesReplayProtection = true -// static let usesDataOptimization = true - static let tickInterval = 0.2 static let pingInterval = 10.0 diff --git a/TunnelKit/Sources/Core/SessionProxy+SessionKey.swift b/TunnelKit/Sources/Core/SessionProxy+SessionKey.swift index 1e48370..4af525e 100644 --- a/TunnelKit/Sources/Core/SessionProxy+SessionKey.swift +++ b/TunnelKit/Sources/Core/SessionProxy+SessionKey.swift @@ -113,10 +113,5 @@ extension SessionProxy { } return decrypted } - - // func dispose() { - // tlsOptional = nil - // dataPath = nil - // } } } diff --git a/TunnelKit/Sources/Core/SessionProxy.swift b/TunnelKit/Sources/Core/SessionProxy.swift index 604dec5..d0392ea 100644 --- a/TunnelKit/Sources/Core/SessionProxy.swift +++ b/TunnelKit/Sources/Core/SessionProxy.swift @@ -899,7 +899,6 @@ public class SessionProxy { while (oldKeys.count > 1) { let key = oldKeys.removeFirst() keys.removeValue(forKey: key.id) -// key.dispose() } }