From 2e758d1960f5046c2981c191eafd19a0a4a59bb1 Mon Sep 17 00:00:00 2001 From: xjasonlyu Date: Mon, 4 Apr 2022 17:06:06 +0800 Subject: [PATCH] Chore(core/tcp): add a comment --- core/tcp.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/tcp.go b/core/tcp.go index 49a0ebd..23b484f 100644 --- a/core/tcp.go +++ b/core/tcp.go @@ -55,6 +55,7 @@ func withTCPHandler(handle func(adapter.TCPConn), printf func(string, ...any)) o } }() + // Perform a TCP three-way handshake. ep, err = r.CreateEndpoint(&wq) if err != nil { // RST: prevent potential half-open TCP connection leak.