diff --git a/mxrouter.go b/mxrouter.go index b8ce17f..bbb53ff 100644 --- a/mxrouter.go +++ b/mxrouter.go @@ -103,7 +103,7 @@ func handleConnection(connClt net.Conn, conLdap *ldap.Conn) { readlen, err := connClt.Read(buf) if err != nil { // Dont notice if client closed connection - if err.Error() != "EOF" { + if err.Error() != "EOF" && !strings.HasSuffix(err.Error(), "i/o timeout") { logstream.Err(fmt.Sprintln("Error reading connection :", err.Error())) } return