Skip to content

Improve error handling in RawSecureShellWS #99

@jsyrjala

Description

@jsyrjala

See https://github.com/NitorCreations/willow/blob/master/willow-servers/src/main/java/com/nitorcreations/willow/ssh/RawSecureShellWS.java#L102

Here session is closed in case of error (e.g. can't connect to port 22) but process continues on and tries to run e.g this

        run = new RawSentOutputTask(session, new BufferedInputStream(shell.getInputStream(), BUFFER_LEN));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions