summaryrefslogtreecommitdiff
path: root/client/main.go
diff options
context:
space:
mode:
authoratanarjuat <atanarjuat@example.com>2022-05-23 01:48:14 +0200
committeratanarjuat <atanarjuat@example.com>2022-05-23 10:15:59 +0200
commit0da16a351753eb1bd9b807a01d1b419711226b70 (patch)
tree8e94e7ecf9b98d27f0dd19b2c3050525183c9a4d /client/main.go
parente72ad4b857b09a788c553283ecb8cda7d2b580fd (diff)
wip: use kcp in the serverfeat/kcp
Diffstat (limited to 'client/main.go')
-rw-r--r--client/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/main.go b/client/main.go
index daf6ce4..80ebb35 100644
--- a/client/main.go
+++ b/client/main.go
@@ -51,6 +51,8 @@ func main() {
logger.Fatalf("cannot get dialer: %v", err)
}
+ // TODO make this configurable via a Config struct
+ // TODO make sure we're disabling the crypto options for KCP
if os.Getenv("KCP") == "1" {
dialer.DialFunc = func(network, address string) (net.Conn, error) {
return kcp.Dial(address)