]> Cypherpunks repositories - gostls13.git/commit
net: retry if GetAddrInfoW returns WSTRY_AGAIN when resolving an IP
authorzen <mobi2009ro@gmail.com>
Tue, 17 Jan 2023 03:52:03 +0000 (19:52 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 15 Feb 2023 22:27:16 +0000 (22:27 +0000)
commit87366feb125008aadc85ace6ccbfd2213b640c9c
treec230c45f848e7d1263c5a3a07451dafb193b1a62
parent2994e9aa79718fbb0658ec5f50ee4b69276401d6
net: retry if GetAddrInfoW returns WSTRY_AGAIN when resolving an IP

GetAddrInfoW is retried now multiple times as per the timeout and number of retries defined in func dnsReadConfig (before it was called only once)

Fixes #55050

Change-Id: If5369ebb164d98557a802de938756dbf9c125773
Reviewed-on: https://go-review.googlesource.com/c/go/+/462051
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/net/lookup_windows.go