Clean + version bump

This commit is contained in:
yo 2022-05-16 13:53:01 +02:00
parent 365b7b9792
commit a84e22ce61

View File

@ -26,7 +26,7 @@ import (
) )
const ( const (
version = "1.0.0-rc" version = "1.0.0-rc2"
) )
var ( var (
@ -177,8 +177,6 @@ func handleConnection(connClt net.Conn, conLdap *ldap.Conn) {
if err.Error() != "EOF" && !strings.HasSuffix(err.Error(), "i/o timeout") { if err.Error() != "EOF" && !strings.HasSuffix(err.Error(), "i/o timeout") {
logstream.Errorf("Error reading connection: %v\n", err.Error()) logstream.Errorf("Error reading connection: %v\n", err.Error())
} }
//sendResponse(connClt, err.Error(), 500)
//continue
return return
} }
@ -411,8 +409,6 @@ func main() {
defer pid.Clear() defer pid.Clear()
} }
//defer logstream.Close()
logstream.Infof("Start listening for incoming connections on %s\n", *listen) logstream.Infof("Start listening for incoming connections on %s\n", *listen)
run() run()
} }