From a1b719b15f33c695dca982c8a4884c9f825ee6fc Mon Sep 17 00:00:00 2001 From: Andy Wang Date: Tue, 15 Oct 2019 22:24:33 +0100 Subject: [PATCH] Add terminal message --- internal/multiplex/session.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/multiplex/session.go b/internal/multiplex/session.go index bdda544..d8f179c 100644 --- a/internal/multiplex/session.go +++ b/internal/multiplex/session.go @@ -193,6 +193,7 @@ func (sesh *Session) recvDataFromRemote(data []byte) error { return nil } else if frame.Closing == 2 { // Closing session + sesh.SetTerminalMsg("Received a closing notification frame") return sesh.passiveClose() } else { // it may be tempting to use the connId from which the frame was received. However it doesn't make