Open
Description
if (this._message_identifier >= this.maxMessageIdentifier) {
because
while(this._sentMessages[this._message_identifier] !== undefined) {
this._message_identifier++;
}
increments before this.store("Sent:", wireMessage); is called and this.store("Sent:", wireMessage); can throw an error, after which this._message_identifier remains incremented. Next time when this._requires_ack will be called it will be incremented again and this comparison will not work!
Metadata
Metadata
Assignees
Labels
No labels