Skip to content

Commit

Permalink
处理ProtocolBuffer改成ProxyBuffer时持续读写的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
gaozhiwen committed Aug 23, 2017
1 parent 69b3135 commit ba9ba96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void onSocketRead(final AdminSession session) throws IOException {
session.curAdminCommand.handlerPkg(session, pkgType);
}
// 下一个报文解析
// session.readingBuffer.readIndex = session.curAdminPkgInf.startPos+session.curAdminPkgInf.length;
session.readingBuffer.readIndex = session.curAdminPkgInf.startPos+session.curAdminPkgInf.length;
}

// session.readingBuffer.writeIndex = bufferLimit;
Expand Down

0 comments on commit ba9ba96

Please sign in to comment.