From eb46396d4de8fa725d695b05a504ff64bb6e5019 Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 23 Apr 2018 21:48:50 +0900 Subject: [PATCH] ing --- .../loafle/overflow/container/server/RPCServerHandler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/loafle/overflow/container/server/RPCServerHandler.java b/src/main/java/com/loafle/overflow/container/server/RPCServerHandler.java index e19afb5..a979214 100644 --- a/src/main/java/com/loafle/overflow/container/server/RPCServerHandler.java +++ b/src/main/java/com/loafle/overflow/container/server/RPCServerHandler.java @@ -44,7 +44,9 @@ public class RPCServerHandler extends SimpleChannelInboundHandler { logger.debug("Error", e); error = e; } - + if (!requestCodec.hasResponse()) { + return; + } byte[] responseBytes = requestCodec.response(reply, error); ctx.channel().writeAndFlush(responseBytes); } else {