From 93c7d9036a17755a6cb0fd70ae5368900d2c3dbe Mon Sep 17 00:00:00 2001 From: weidong Date: Wed, 12 Jun 2024 11:55:31 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81udp=20handler=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E5=A4=A7=E9=87=8F=E7=9A=84WARN=20=20io.netty.channel.DefaultCh?= =?UTF-8?q?annelPipeline=20-=20An=20exceptionCaught()=20event=20was=20fire?= =?UTF-8?q?d,=20and=20it=20reached=20at=20the=20tail=20of=20the=20pipeline?= =?UTF-8?q?.=20It=20usually=20means=20the=20last=20handler=20in=20the=20pi?= =?UTF-8?q?peline=20did=20not=20handle=20the=20exception.=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20java.io.IOException:?= =?UTF-8?q?=20=E6=89=93=E5=BC=80=E7=9A=84=E6=96=87=E4=BB=B6=E8=BF=87?= =?UTF-8?q?=E5=A4=9A=20=20=20=E5=9C=A8=E5=BC=82=E5=B8=B8=E6=8D=95=E8=8E=B7?= =?UTF-8?q?=E4=B8=AD=E5=A2=9E=E5=8A=A0=E5=85=B3=E9=97=ADcontext=E7=9A=84?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/imdroid/sideslope/server/udp/RtcmUdpHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/server/udp/RtcmUdpHandler.java b/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/server/udp/RtcmUdpHandler.java index bea78589..0360b3ea 100644 --- a/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/server/udp/RtcmUdpHandler.java +++ b/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/server/udp/RtcmUdpHandler.java @@ -54,6 +54,7 @@ public class RtcmUdpHandler extends ChannelInboundHandlerAdapter { public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { super.exceptionCaught(ctx, cause); logger.error("Exception caught: {}", cause.toString()); + ctx.close(); } }