]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: add pointer to net and net/http for more GODEBUG settings
authorRuss Cox <rsc@golang.org>
Thu, 7 Jan 2016 03:04:06 +0000 (22:04 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 7 Jan 2016 19:14:12 +0000 (19:14 +0000)
net has GODEBUG text already.
net/http still needs it (leaving for Brad).

For #13611.

Change-Id: Icea1027924a23a687cbbe4001985e8c6384629d7
Reviewed-on: https://go-review.googlesource.com/18346
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/extern.go

index cab8de04818a9f0ef48fa4f352f1b4f2aacb954a..f52c66cf871e763254106763e8d1cd5540a519be 100644 (file)
@@ -105,6 +105,9 @@ It is a comma-separated list of name=val pairs setting these named variables:
        schedtrace: setting schedtrace=X causes the scheduler to emit a single line to standard
        error every X milliseconds, summarizing the scheduler state.
 
+The net and net/http packages also refer to debugging variables in GODEBUG.
+See the documentation for those packages for details.
+
 The GOMAXPROCS variable limits the number of operating system threads that
 can execute user-level Go code simultaneously. There is no limit to the number of threads
 that can be blocked in system calls on behalf of Go code; those do not count against