Commit Graph

3 Commits (master)

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
3 years ago
Mariano Cano 89fb49c6d7 Fix lint errors in examples. 6 years ago
Mariano Cano 6617c93732 Add new example and docs on the client SDK. 6 years ago