diff --git a/hkexshd/hkexshd.go b/hkexshd/hkexshd.go index 77748d3..817e3b0 100755 --- a/hkexshd/hkexshd.go +++ b/hkexshd/hkexshd.go @@ -433,6 +433,8 @@ func main() { conn, err := l.Accept() if err != nil { log.Printf("Accept() got error(%v), hanging up.\n", err) + conn.Close() + //log.Fatal(err) } else { log.Println("Accepted client")