mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Kusnierz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-505) SshClient doesn't terminate properly due to non-daemon threads
Date Fri, 26 Jun 2015 13:03:04 GMT
Matt Kusnierz created SSHD-505:

             Summary: SshClient doesn't terminate properly due to non-daemon threads
                 Key: SSHD-505
                 URL: https://issues.apache.org/jira/browse/SSHD-505
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 0.13.0
            Reporter: Matt Kusnierz

The SshClient org.apache.sshd.SshClient.connect(String, SocketAddress) method, ends up creating
a MinaConnector that in turn creates an NioSocketConnector; however this constructor used
for creating the NioSocketConnector does not pass in an Executor (there is an overloaded constructor
that does this). When no Executor is supplied, a default executor service is created; but
this service does not use a ThreadFactory that creates daemon threads. Therefore the application
can fail to properly terminate due to running non-daemon threads.

This message was sent by Atlassian JIRA

View raw message