Skip to content

Commit

Permalink
Merge pull request #705 from cybozu-go/rfc6555
Browse files Browse the repository at this point in the history
Remove deprecated DualStack flag
  • Loading branch information
yokaze authored Feb 14, 2024
2 parents 0e03322 + 425f716 commit e2effd8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tools/rivers/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func run() error {
}
}

var dialer = &net.Dialer{DualStack: true}
var dialer = &net.Dialer{}
var err error
dialer.Timeout, err = time.ParseDuration(*flgDialTimeout)
if err != nil {
Expand Down
1 change: 0 additions & 1 deletion vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ func VaultClient(cfg *VaultConfig) (*vault.Client, *vault.Secret, error) {
DialContext: (&net.Dialer{
Timeout: 30 * time.Second,
KeepAlive: 30 * time.Second,
DualStack: true,
}).DialContext,
MaxIdleConnsPerHost: -1,
TLSHandshakeTimeout: 10 * time.Second,
Expand Down

0 comments on commit e2effd8

Please sign in to comment.