File tree 2 files changed +10
-1
lines changed 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
// Package tls partially implements TLS 1.2, as specified in RFC 5246,
6
6
// and TLS 1.3, as specified in RFC 8446.
7
+ //
8
+ // TLS 1.3 is available only on an opt-in basis in Go 1.12. To enable
9
+ // it, set the GODEBUG environment variable (comma-separated key=value
10
+ // options) such that it includes "tls13=1". To enable it from within
11
+ // the process, set the environment variable before any use of TLS:
12
+ //
13
+ // func init() {
14
+ // os.Setenv("GODEBUG", os.Getenv("GODEBUG")+",tls13=1")
15
+ // }
7
16
package tls
8
17
9
18
// BUG(agl): The crypto/tls package only implements some countermeasures
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ It is a comma-separated list of name=val pairs setting these named variables:
127
127
IDs will refer to the ID of the goroutine at the time of creation; it's possible for this
128
128
ID to be reused for another goroutine. Setting N to 0 will report no ancestry information.
129
129
130
- The net and net/http packages also refer to debugging variables in GODEBUG.
130
+ The net, net/http, and crypto/tls packages also refer to debugging variables in GODEBUG.
131
131
See the documentation for those packages for details.
132
132
133
133
The GOMAXPROCS variable limits the number of operating system threads that
You can’t perform that action at this time.
0 commit comments