Skip to content

Conversation

@kuangtu
Copy link

@kuangtu kuangtu commented Mar 10, 2017

In Session.rev() method, get a message's all fields with below code:
while (rxBuf.position() < checksumOffset) {
int tag = Protocol.parseInt(rxBuf, (byte)'=');
ByteString value = Protocol.parseString(rxBuf, (byte)0x01);
fields.add(new Field(tag, value));
}
rxBuf.position(endOffset);
the tag number is error. Should add the rxBuf.get() to pass the (byte)0x01.Add the SessionTest for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant