mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
Restored call to c.Close in hkexnet.Close (was causing hangs on client side)
This commit is contained in:
parent
74a64489e5
commit
8e02810f0e
1 changed files with 1 additions and 0 deletions
|
@ -533,6 +533,7 @@ func (hc *Conn) Close() (err error) {
|
||||||
binary.BigEndian.PutUint32(s, uint32(*hc.closeStat))
|
binary.BigEndian.PutUint32(s, uint32(*hc.closeStat))
|
||||||
log.Printf("** Writing closeStat %d at Close()\n", *hc.closeStat)
|
log.Printf("** Writing closeStat %d at Close()\n", *hc.closeStat)
|
||||||
hc.WritePacket(s, CSOExitStatus)
|
hc.WritePacket(s, CSOExitStatus)
|
||||||
|
err = (*hc.c).Close()
|
||||||
logger.LogDebug(fmt.Sprintln("[Conn Closing]"))
|
logger.LogDebug(fmt.Sprintln("[Conn Closing]"))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue