mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Birkner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-769) Cannot close SSH server after restart
Date Mon, 04 Sep 2017 06:01:15 GMT
Stefan Birkner created SSHD-769:

             Summary: Cannot close SSH server after restart
                 Key: SSHD-769
                 URL: https://issues.apache.org/jira/browse/SSHD-769
             Project: MINA SSHD
          Issue Type: Bug
            Reporter: Stefan Birkner

I wrote a tool (Fake SFTP server rule) that provides a fake SFTP server for people testing
their SFTP code with JUnit. https://github.com/stefanbirkner/fake-sftp-server-rule It uses
Apache SSHD under the hood.

When a user want to change the port I restart the server:


Unfortunately when I call {{server.close()}} afterwards the server is not shutdown. This is
because the {{AbstractCloseable}} state is not reset on {{server.start()}}

It should either be possible to shutdown the server after a restart of a restart should be

This message was sent by Atlassian JIRA

View raw message