Reverted hkexnet.Close() deletion, caused hang

Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
Russ Magee 2018-11-19 15:26:01 -08:00
parent 1909786a4b
commit 673074d618
1 changed files with 2 additions and 0 deletions

View File

@ -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")