From b6aada5e81284e48183e0c324afa208bc0e25a4b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 18 Nov 2024 19:27:22 -0800 Subject: [PATCH] doc/godebug: document that unrecognized GODEBUG entries are ignored Change-Id: I6debc82913ae9fa02bee55dc87d35574f5265008 Reviewed-on: https://go-review.googlesource.com/c/go/+/629576 Reviewed-by: Dmitri Shuralyov Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov Commit-Queue: Ian Lance Taylor Auto-Submit: Ian Lance Taylor --- doc/godebug.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/godebug.md b/doc/godebug.md index 0b62832f83a..c5e9491aab4 100644 --- a/doc/godebug.md +++ b/doc/godebug.md @@ -34,6 +34,7 @@ For example, if a Go program is running in an environment that contains then that Go program will disable the use of HTTP/2 by default in both the HTTP client and the HTTP server. +Unrecognized settings in the `GODEBUG` environment variable are ignored. It is also possible to set the default `GODEBUG` for a given program (discussed below).