]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add a GODEBUG to limit the number of concurrent network connections
authorBryan C. Mills <bcmills@google.com>
Fri, 3 Mar 2023 14:48:19 +0000 (14:48 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 19 May 2023 02:47:12 +0000 (02:47 +0000)
commitd0c72c23dcb5afc80918686f18c14c870eacbd1c
tree91fa7b098319a6d1c01fd0255405625614c49808
parent8f1031df779fa31da80b270474a737459dbd1726
cmd/go: add a GODEBUG to limit the number of concurrent network connections

I implemented this in order to debug connection failures on a
new-to-me VM development environment that uses Cloud NAT. It doesn't
directly fix the bug, but perhaps folks will find it useful to
diagnose port-exhaustion-related flakiness in other environments.

For #52545.

Change-Id: Icd3f13dcf62e718560c4f4a965a4df7c1bd785ce
Reviewed-on: https://go-review.googlesource.com/c/go/+/473277
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/cmd/go/go_test.go
src/cmd/go/internal/base/limit.go [new file with mode: 0644]
src/cmd/go/internal/modfetch/codehost/git.go
src/cmd/go/internal/modfetch/codehost/svn.go
src/cmd/go/internal/modfetch/codehost/vcs.go
src/cmd/go/internal/vcs/vcs.go
src/cmd/go/internal/web/http.go
src/cmd/go/script_test.go
src/cmd/go/scriptconds_test.go