mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberto Deandrea (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-839) Possible bug in DefaultForwardingFilter class
Date Wed, 08 Aug 2018 14:40:00 GMT
Roberto Deandrea created SSHD-839:

             Summary: Possible bug in DefaultForwardingFilter class
                 Key: SSHD-839
                 URL: https://issues.apache.org/jira/browse/SSHD-839
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 2.0.1
            Reporter: Roberto Deandrea

Hi, I found a possible bug in method stopLocalPortForwarding() of class DefaultForwardingFilter.

The effect is that the port bound IS NOT unbound after calling this method.

For example :

2018-08-08 15:28:02.054 [CMDSRV-2] DEBUG o.a.s.c.i.n.Nio2Acceptor.bind - Binding Nio2Acceptor
to address /
2018-08-08 15:28:02.054 [CMDSRV-2] DEBUG o.a.s.c.f.DefaultForwardingFilter.startLocalPortForwarding
- startLocalPortForwarding( ->


2018-08-08 15:28:21.025 [] DEBUG o.a.s.c.f.DefaultForwardingFilter.stopLocalPortForwarding
- stopLocalPortForwarding( unbind

The port bound is 51080 on localhost(

This port is not unbounded.

I think that the problem is on this statement :


The statement SHOULD BE instead :



Let me know what you think about this issue.

Thank you in advance


This message was sent by Atlassian JIRA

View raw message