|
@@ -538,8 +538,6 @@ func (c *Config) Validate() error {
|
|
|
return ConfigurationError("Net.ReadTimeout must be > 0")
|
|
|
case c.Net.WriteTimeout <= 0:
|
|
|
return ConfigurationError("Net.WriteTimeout must be > 0")
|
|
|
- case c.Net.KeepAlive < 0:
|
|
|
- return ConfigurationError("Net.KeepAlive must be >= 0")
|
|
|
case c.Net.SASL.Enable:
|
|
|
if c.Net.SASL.Mechanism == "" {
|
|
|
c.Net.SASL.Mechanism = SASLTypePlaintext
|