mirror of
https://github.com/nonoo/kappanhang.git
synced 2026-03-01 10:54:17 +01:00
Handle duplicate pkt7 replies
This commit is contained in:
parent
53097212f6
commit
3395a6b7f3
2
pkt7.go
2
pkt7.go
|
|
@ -53,7 +53,7 @@ func (p *pkt7Type) handle(s *streamCommon, r []byte) {
|
|||
}
|
||||
|
||||
expectedSeq := p.lastConfirmedSeq + 1
|
||||
if expectedSeq != gotSeq {
|
||||
if expectedSeq != gotSeq && gotSeq != p.lastConfirmedSeq {
|
||||
var missingPkts int
|
||||
if gotSeq > expectedSeq {
|
||||
missingPkts = int(gotSeq) - int(expectedSeq)
|
||||
|
|
|
|||
Loading…
Reference in a new issue