Skip to content

Commit

Permalink
optimize: next proxy cli
Browse files Browse the repository at this point in the history
  • Loading branch information
nange committed Apr 6, 2023
1 parent 1e0a74b commit 61f6088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ func (es *EasyServer) targetConn(network, addr string) (net.Conn, error) {
username = u.User.Username()
password, _ = u.User.Password()
}
cli, _ := socks5.NewClient(u.Host, username, password, 0, 0)
if nextProxy(host) {
cli, _ := socks5.NewClient(u.Host, username, password, 0, 0)
tConn, err = cli.Dial(network, addr)
}
default:
Expand Down

0 comments on commit 61f6088

Please sign in to comment.