refactor: separate session responsibilities and inject dependencies
Some checks failed
Docker Build and Push / build-and-push (push) Has been cancelled
Some checks failed
Docker Build and Push / build-and-push (push) Has been cancelled
This commit is contained in:
@ -185,7 +185,7 @@ func Handler(conn net.Conn) {
|
||||
sshSession.HandleForwardedConnection(session.UserConnection{
|
||||
Reader: reader,
|
||||
Writer: conn,
|
||||
}, sshSession.Connection)
|
||||
}, sshSession.Conn)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
@ -109,6 +109,6 @@ func HandlerTLS(conn net.Conn) {
|
||||
sshSession.HandleForwardedConnection(session.UserConnection{
|
||||
Reader: reader,
|
||||
Writer: conn,
|
||||
}, sshSession.Connection)
|
||||
}, sshSession.Conn)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user