mirror of
https://github.com/zrepl/zrepl.git
synced 2025-02-22 05:11:06 +01:00
serve/tls: use handshake timeout from config
This commit is contained in:
parent
6c988d0ebb
commit
c21222ef13
@ -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 == "" {
|
||||
|
Loading…
Reference in New Issue
Block a user