From: Russ Cox Date: Thu, 7 Jan 2016 03:04:06 +0000 (-0500) Subject: runtime: add pointer to net and net/http for more GODEBUG settings X-Git-Tag: go1.6beta2~92 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cd91c3b036c9ec087dcc3fc69ff8234020925fa9;p=gostls13.git runtime: add pointer to net and net/http for more GODEBUG settings 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 --- diff --git a/src/runtime/extern.go b/src/runtime/extern.go index cab8de0481..f52c66cf87 100644 --- a/src/runtime/extern.go +++ b/src/runtime/extern.go @@ -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