go-syslog
go-syslog copied to clipboard
Allow setting timeout during TLS Handshake
Buggy clients might never respond during the TLS handshake phase. This change adds a config setting to set a read timeout before calling handshake. I think the handshake involves multiple reads but this setting should help with clients who never respond.
Please consider this PR, it will be appreciated by anyone looking to use the TLS functionality.