Commit 2d0aca17 authored by martin hou's avatar martin hou

fix: 跳过未读取到有效消息的场景

parent c4b4b7d9
...@@ -522,7 +522,7 @@ function Jensen(log, conn) { ...@@ -522,7 +522,7 @@ function Jensen(log, conn) {
crash = true; crash = true;
break; break;
} }
if (rst == null) { if (rst == null || rst.length == 0) {
break; break;
} }
startIndex += rst.length; startIndex += rst.length;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment