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