Chore(core/tcp): add a comment

This commit is contained in:
xjasonlyu
2022-04-04 17:06:06 +08:00
parent 9797cb31c0
commit 2e758d1960

View File

@@ -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.