Commit graph

4 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
Nelson Melo
d0c7ccd0db
ServetTLS => ServeTLS in function docs 2018-12-20 12:10:32 -05:00
Nelson Melo
e07a78c64b
Fix a couple typos in documentation and a formatting issue 2018-12-20 12:04:08 -05:00
max furman
c284a2c0ab first commit 2018-10-05 21:48:36 +00:00