teleport icon indicating copy to clipboard operation
teleport copied to clipboard

Fix SSH sessions recorded on proxy not being fully closed

Open gabrielcorado opened this issue 9 months ago • 0 comments

This issue affects only SSH sessions recorded at Proxy. When the session.Close is called from the Proxy, the session is not properly closed, leaving it open.

The problem was related to the session waiting for the parties to be closed (s.term.AddParty(-1)). This PR updates the close flow from session.Close and remoteTerminal.Close to fix it (commented on code).

gabrielcorado avatar May 10 '24 22:05 gabrielcorado