Set GODEBUG to enable TLS 1.3

Fixes #731
This commit is contained in:
Frank Denis 2019-02-17 23:56:02 +01:00
parent 5ee3512460
commit cb022ece82
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ type App struct {
func main() {
dlog.Init("dnscrypt-proxy", dlog.SeverityNotice, "DAEMON")
os.Setenv("GODEBUG", os.Getenv("GODEBUG")+",tls13=1")
pwd, err := os.Getwd()
if err != nil {