Commit Graph

4 Commits

Author SHA1 Message Date
Derek Collison
2f0e8883ae CNCF, move to Apache 2 2018-03-17 13:36:48 -07:00
Johan Brandhorst
4798ae8e42 Add tls.go for Go 1.8.
Fixes #335
2017-12-15 19:07:11 +00:00
Johan Brandhorst
ee09ac3b6c Rename tls.go to tls_go17.go, delete unsupported file 2017-12-15 19:04:34 +00:00
Ivan Kozlovic
93dfbd6ccb [FIXED] assignment copies lock value for crypto/tls.Config
Running `go vet ./...` with `go 1.7.3` would report the following:

```
nats.go:769: assignment copies lock value to tlsCopy: crypto/tls.Config contains sync.Once contains sync.Mutex
```

Add a “clone” function while waiting for this to be addressed
by the language itself (https://go-review.googlesource.com/#/c/28075/)
2016-10-20 20:24:53 -06:00