Commit Graph

5 Commits (master)

Author SHA1 Message Date
Mariano Cano 23b8f45b37 Address gosec warnings
Most if not all false positives
2 years ago
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
Nelson Melo d0c7ccd0db
ServetTLS => ServeTLS in function docs 5 years ago
Nelson Melo e07a78c64b
Fix a couple typos in documentation and a formatting issue 5 years ago
max furman c284a2c0ab first commit 6 years ago