From 579d126a31b95e2b3e28f20d58bb6d47de3ca6ac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 11:07:42 +0000 Subject: [PATCH 1/2] Bump org.apache.mina:mina-core from 2.0.23 to 2.2.3 Bumps [org.apache.mina:mina-core](https://github.com/apache/mina) from 2.0.23 to 2.2.3. - [Commits](https://github.com/apache/mina/compare/2.0.23...2.2.3) --- updated-dependencies: - dependency-name: org.apache.mina:mina-core dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 4566b63c81cd69dbe3be9b706a09d3e9c6b10ca6 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Tue, 10 Sep 2024 15:50:00 +0200 Subject: [PATCH 2/2] Add missing method --- .../src/main/java/org/apache/sshd/mina/MinaService.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 {