Skip to content

Commit c141f7c

Browse files
committed
debug
1 parent 9b4a6db commit c141f7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/ws-proxy/pkg/sshproxy/forward.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,13 @@ func (s *Server) ChannelForward(ctx context.Context, session *Session, targetCon
5656
go func() {
5757
io.Copy(targetChan, originChan)
5858
targetChan.CloseWrite()
59+
log.Info("originChan channel closed")
5960
}()
6061

6162
go func() {
6263
io.Copy(originChan, targetChan)
6364
originChan.CloseWrite()
65+
log.Info("targetChan channel closed")
6466
}()
6567

6668
go func() {

0 commit comments

Comments
 (0)