diff --git a/network/ConnectionMgr.go b/network/ConnectionMgr.go index a1aa1ac..7c21aab 100644 --- a/network/ConnectionMgr.go +++ b/network/ConnectionMgr.go @@ -45,7 +45,7 @@ type ConnectionManager struct { func withTimeoutConnectContext(parent context.Context, timeOut time.Duration) ConnectionContext { ctx, _ := context.WithTimeout(parent, timeOut) - if config.IfSecure() { + if config.IfSecure() { // secure tcp } ret := ConnectionContext{ctx, "0", "socket", 0, "", 0, nil, nil, nil, DefaultPackageHandler, false, []byte{}}