aboutsummaryrefslogtreecommitdiff
path: root/Hotline
diff options
context:
space:
mode:
authorDustin Mierau <dustin@mierau.me>2024-01-08 15:20:12 -0800
committerDustin Mierau <dustin@mierau.me>2024-01-08 15:20:12 -0800
commit0910d3380755d38a93e5b87a31ecf31f17d0bc58 (patch)
tree8653af1c1273063794e82ab6eb20abd7b2998f7e /Hotline
parentf87ae3b315e20ac31426782d7f40f8977a36e5b9 (diff)
Let's use default TCP settings for the most part (keepalive is our one addition for now).
Diffstat (limited to 'Hotline')
-rw-r--r--Hotline/Hotline/HotlineClient.swift4
1 files 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)