Implement SEQUENCE_LAST flag

This commit is contained in:
Kleissner
2021-04-19 15:05:17 +02:00
parent b2db81143e
commit 1eb4f4083b
3 changed files with 24 additions and 2 deletions

View File

@@ -174,6 +174,10 @@ func packetWorker(packets <-chan networkWire) {
case CommandResponse: // Response
if response, _ := msgDecodeResponse(raw); response != nil {
if (response.Actions & (1 << ActionSequenceLast)) > 0 {
msgInvalidateSequence(raw)
}
peer.cmdResponse(response)
}