Skip to content

Commit

Permalink
Merge pull request #3 from 2dust/main
Browse files Browse the repository at this point in the history
Fork Sync
  • Loading branch information
Herfv committed May 1, 2023
2 parents ece4b0d + 607b552 commit 1cfea08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/2dust/AndroidLibXrayLite
go 1.19

require (
github.com/xtls/xray-core v1.7.2
github.com/xtls/xray-core v1.8.1
golang.org/x/mobile v0.0.0-20221020085226-b36e6246172e
golang.org/x/sys v0.1.0
)
6 changes: 3 additions & 3 deletions libv2ray_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ func (d *ProtectedDialer) Dial(ctx context.Context,
}
}

if time.Since(d.vServer.lastResolved) > time.Minute*30 {
go d.PrepareDomain(Address, nil, d.preferIPv6)
}
// if time.Since(d.vServer.lastResolved) > time.Minute*30 {
// go d.PrepareDomain(Address, nil, d.preferIPv6)
// }

fd, err := d.getFd(dest.Network)
if err != nil {
Expand Down

0 comments on commit 1cfea08

Please sign in to comment.