fix #2043
This commit is contained in:
parent
9686830173
commit
3706cc3148
1 changed files with 7 additions and 0 deletions
|
@ -334,6 +334,13 @@ public final class RPCHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void internalRpcReceive (Object o, RPCMessageInfo info, ByteBuf data) {
|
private void internalRpcReceive (Object o, RPCMessageInfo info, ByteBuf data) {
|
||||||
|
if (data.readableBytes() <= 0) {
|
||||||
|
// This seems to happen from time to time on the client side.
|
||||||
|
// TODO: Find out why. (Someone suggests WAILA might have something to do
|
||||||
|
// with it)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
short methodIndex = data.readShort();
|
short methodIndex = data.readShort();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue