mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 09:44:51 +00:00
Revert "Remove closing when pings fail to send"
This reverts commit aea4f98e8c
.
This commit is contained in:
parent
fa0e2b7803
commit
33143e44f5
|
@ -320,6 +320,7 @@ func (t *TerminalHandler) startPingLoop(ws *websocket.Conn) {
|
|||
// https://github.com/golang/net/blob/master/websocket/hybi.go#L291
|
||||
if err := codec.Send(ws, nil); err != nil {
|
||||
t.log.Errorf("Unable to send ping frame to web client: %v.", err)
|
||||
t.Close()
|
||||
return
|
||||
}
|
||||
case <-t.terminalContext.Done():
|
||||
|
|
Loading…
Reference in a new issue