Clean + version bump
This commit is contained in:
		@ -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()
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user