]> Cypherpunks repositories - gostls13.git/commit
net: avoid relying on singleflight.Group.DoChan to detect hook called
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Sat, 13 Aug 2022 17:29:20 +0000 (00:29 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Wed, 24 Aug 2022 02:23:58 +0000 (02:23 +0000)
commit7ee220c56768021179b7c4be19631be82773b9da
treef1c7d996c85d12804ec0aad86d8956e7bbe511eb
parent1dcef7b3bdcea4a829ea22c821e6a9484c325d61
net: avoid relying on singleflight.Group.DoChan to detect hook called

So next CLs can revert changes to "internal/singleflight" in CL #82795,
then replace it with "golang.org/x/sync/singleflight" instead.

For #31697

Change-Id: I873ce30d7e051539aa6dc5d4f21e558869a6d132
Reviewed-on: https://go-review.googlesource.com/c/go/+/423654
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/net/lookup.go