Cleanup vmessws

This commit is contained in:
世界
2022-08-26 10:22:20 +08:00
parent f841459004
commit 07a0381f8b
2 changed files with 6 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ func (c *Client) DialContext(ctx context.Context) (net.Conn, error) {
}
return nil, wrapDialError(response, err)
} else {
return &EarlyWebsocketConn{Client: c, create: make(chan struct{})}, nil
return &EarlyWebsocketConn{Client: c, ctx: ctx, create: make(chan struct{})}, nil
}
}