diff --git a/pom.xml b/pom.xml index 53151402d..f63b4490b 100644 --- a/pom.xml +++ b/pom.xml @@ -438,7 +438,7 @@ org.apache.mina mina-core - 2.0.23 + 2.2.3 tomcat diff --git a/sshd-mina/src/main/java/org/apache/sshd/mina/MinaService.java b/sshd-mina/src/main/java/org/apache/sshd/mina/MinaService.java index d7606f51a..afe8e3864 100644 --- a/sshd-mina/src/main/java/org/apache/sshd/mina/MinaService.java +++ b/sshd-mina/src/main/java/org/apache/sshd/mina/MinaService.java @@ -33,6 +33,7 @@ import org.apache.mina.core.session.IdleStatus; import org.apache.mina.core.session.IoSession; import org.apache.mina.core.session.IoSessionConfig; +import org.apache.mina.filter.FilterEvent; import org.apache.mina.transport.socket.SocketSessionConfig; import org.apache.mina.transport.socket.nio.NioSession; import org.apache.sshd.common.FactoryManager; @@ -131,6 +132,11 @@ public void inputClosed(IoSession session) throws Exception { session.closeNow(); } + @Override + public void event(IoSession session, FilterEvent event) throws Exception { + // Empty handler + } + protected void sessionCreated(IoSession session, SocketAddress acceptanceAddress) throws Exception { org.apache.sshd.common.io.IoSession ioSession = new MinaSession(this, session, acceptanceAddress); try {