3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

increase TLS handshake timeout

This commit is contained in:
Shivaram Lingamneni 2020-03-22 09:45:33 -04:00
parent 080fef218f
commit 101dc6b0d9

View File

@ -20,8 +20,8 @@ import (
)
var (
handshakeTimeout, _ = time.ParseDuration("5s")
errSendQExceeded = errors.New("SendQ exceeded")
handshakeTimeout = RegisterTimeout
errSendQExceeded = errors.New("SendQ exceeded")
sendQExceededMessage = []byte("\r\nERROR :SendQ Exceeded\r\n")
)