ing
This commit is contained in:
parent
3a1cbe46c1
commit
eb46396d4d
|
@ -44,7 +44,9 @@ public class RPCServerHandler extends SimpleChannelInboundHandler<SocketFrame> {
|
||||||
logger.debug("Error", e);
|
logger.debug("Error", e);
|
||||||
error = e;
|
error = e;
|
||||||
}
|
}
|
||||||
|
if (!requestCodec.hasResponse()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
byte[] responseBytes = requestCodec.response(reply, error);
|
byte[] responseBytes = requestCodec.response(reply, error);
|
||||||
ctx.channel().writeAndFlush(responseBytes);
|
ctx.channel().writeAndFlush(responseBytes);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user