no message
parent
368e49ff71
commit
84d1cd38be
|
@ -45,7 +45,7 @@ type ConnectionManager struct {
|
||||||
|
|
||||||
func withTimeoutConnectContext(parent context.Context, timeOut time.Duration) ConnectionContext {
|
func withTimeoutConnectContext(parent context.Context, timeOut time.Duration) ConnectionContext {
|
||||||
ctx, _ := context.WithTimeout(parent, timeOut)
|
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{}}
|
ret := ConnectionContext{ctx, "0", "socket", 0, "", 0, nil, nil, nil, DefaultPackageHandler, false, []byte{}}
|
||||||
|
|
Loading…
Reference in New Issue