Commit Graph

3 Commits

Author SHA1 Message Date
Mariano Cano
36b622bfc2 Use Golang's default keep-alive.
Since Go 1.13 a net.Listen keep-alive is enabled by default if
the protocol and OS supports it. The new one is 15s to match
the net.Dial default one. Previously http.Server ListenAndServe
and ListenAndServeTLS used to add a wrapper with 3m that we
replicated.

See https://github.com/golang/go/issues/31510
2021-10-15 14:12:43 -07:00
Mariano Cano
89fb49c6d7 Fix lint errors in examples. 2018-11-05 18:10:21 -08:00
Mariano Cano
6617c93732 Add new example and docs on the client SDK. 2018-11-05 18:04:12 -08:00