mirror of
https://github.com/cbeuw/Cloak.git
synced 2024-11-17 15:25:30 +00:00
Add terminal message
This commit is contained in:
parent
beb6568ce0
commit
a1b719b15f
@ -193,6 +193,7 @@ func (sesh *Session) recvDataFromRemote(data []byte) error {
|
|||||||
return nil
|
return nil
|
||||||
} else if frame.Closing == 2 {
|
} else if frame.Closing == 2 {
|
||||||
// Closing session
|
// Closing session
|
||||||
|
sesh.SetTerminalMsg("Received a closing notification frame")
|
||||||
return sesh.passiveClose()
|
return sesh.passiveClose()
|
||||||
} else {
|
} else {
|
||||||
// it may be tempting to use the connId from which the frame was received. However it doesn't make
|
// it may be tempting to use the connId from which the frame was received. However it doesn't make
|
||||||
|
Loading…
Reference in New Issue
Block a user