Currently net.Dial and tls.Dial allows connection to take forever, it can stuck setup of syslog service. However net.Dial can be changed to net.DialWithTimeout and tls.Dial to tls.DialWithDialer passing net.Dialer.
Currently net.Dial and tls.Dial allows connection to take forever, it can stuck setup of syslog service.
However net.Dial can be changed to net.DialWithTimeout and tls.Dial to tls.DialWithDialer passing net.Dialer.