File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,13 +5,6 @@ import (
55 "crypto/tls"
66 "crypto/x509"
77 "errors"
8- "github.com/klauspost/compress/zip"
9- "github.com/redis/go-redis/v9"
10- "github.com/vrischmann/userdir"
11- "github.com/wailsapp/wails/v2/pkg/runtime"
12- "github.com/xanzy/ssh-agent"
13- "golang.org/x/crypto/ssh"
14- "golang.org/x/net/proxy"
158 "io"
169 "net"
1710 "net/url"
@@ -24,6 +17,14 @@ import (
2417 . "tinyrdm/backend/storage"
2518 "tinyrdm/backend/types"
2619 _ "tinyrdm/backend/utils/proxy"
20+
21+ "github.com/klauspost/compress/zip"
22+ "github.com/redis/go-redis/v9"
23+ "github.com/vrischmann/userdir"
24+ "github.com/wailsapp/wails/v2/pkg/runtime"
25+ "github.com/xanzy/ssh-agent"
26+ "golang.org/x/crypto/ssh"
27+ "golang.org/x/net/proxy"
2728)
2829
2930type cmdHistoryItem struct {
@@ -163,6 +164,7 @@ func (c *connectionService) buildOption(config types.ConnectionConfig) (*redis.O
163164 TLSConfig : tlsConfig ,
164165 DisableIdentity : true ,
165166 IdentitySuffix : "tinyrdm_" ,
167+ Protocol : 2 ,
166168 }
167169 if config .Network == "unix" {
168170 option .Network = "unix"
You can’t perform that action at this time.
0 commit comments