aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2021-08-28 14:18:56 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2021-08-28 14:18:56 +0200
commit2f9a8ca29b36a753d004aa9e111f18f7fc87c1fe (patch)
tree36c5b49e8e7159c3053cf26e09b2982a9cbb8fbd /main.go
parenteab858ba6b6e1d319c2d02cd0a7a13974746e7ef (diff)
Differentiate between timeouts and disconnects
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.go b/main.go
index 5706830..b2bf21c 100644
--- a/main.go
+++ b/main.go
@@ -123,10 +123,7 @@ func main() {
return
}
- sc := connect(conn)
- sc.clt = cc
- cc.srv = sc
- sc.log("-->", "connect")
+ connect(conn, cc)
}()
}
}