- 修复查询分享的资源参数无效的问题
- 修复ssh连接并发写入websocket的问题
This commit is contained in:
@ -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, ""))
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user