serve/tls: use handshake timeout from config

This commit is contained in:
Christian Schwarz 2018-09-05 08:32:59 -07:00
parent 6c988d0ebb
commit c21222ef13

View File

@ -21,6 +21,7 @@ type TLSListenerFactory struct {
func TLSListenerFactoryFromConfig(c *config.Global, in *config.TLSServe) (lf *TLSListenerFactory, err error) {
lf = &TLSListenerFactory{
address: in.Listen,
handshakeTimeout: in.HandshakeTimeout,
}
if in.Ca == "" || in.Cert == "" || in.Key == "" {