This commit is contained in:
crusader 2018-04-23 21:48:50 +09:00
parent 3a1cbe46c1
commit eb46396d4d

View File

@ -44,7 +44,9 @@ public class RPCServerHandler extends SimpleChannelInboundHandler<SocketFrame> {
logger.debug("Error", e);
error = e;
}
if (!requestCodec.hasResponse()) {
return;
}
byte[] responseBytes = requestCodec.response(reply, error);
ctx.channel().writeAndFlush(responseBytes);
} else {