- 修复查询分享的资源参数无效的问题

- 修复ssh连接并发写入websocket的问题
This commit is contained in:
dushixiang
2022-05-05 09:07:11 +08:00
parent 03b59d6a2f
commit b73bef0c08
7 changed files with 59 additions and 35 deletions

View File

@ -202,7 +202,7 @@ func (api WebTerminalApi) SshEndpoint(c echo.Context) error {
if err != nil {
service.SessionService.CloseSessionById(sessionId, TunnelClosed, "远程连接已关闭")
} else {
_ = WriteMessage(ws, dto.NewMessage(Ping, ""))
_ = termHandler.WriteMessage(dto.NewMessage(Ping, ""))
}
}