From 0910d3380755d38a93e5b87a31ecf31f17d0bc58 Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Mon, 8 Jan 2024 15:20:12 -0800 Subject: Let's use default TCP settings for the most part (keepalive is our one addition for now). --- Hotline/Hotline/HotlineClient.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Hotline/Hotline/HotlineClient.swift b/Hotline/Hotline/HotlineClient.swift index 6a487cb..c33cb75 100644 --- a/Hotline/Hotline/HotlineClient.swift +++ b/Hotline/Hotline/HotlineClient.swift @@ -117,8 +117,8 @@ class HotlineClient { let tcpOptions = NWProtocolTCP.Options() tcpOptions.enableKeepalive = true // tcpOptions.enableFastOpen = true - tcpOptions.keepaliveInterval = 30 - tcpOptions.connectionTimeout = 30 +// tcpOptions.keepaliveInterval = 30 +// tcpOptions.connectionTimeout = 30 let connectionParameters: NWParameters connectionParameters = NWParameters(tls: nil, tcp: tcpOptions) -- cgit