forked from quic-go/quic-go
Merge pull request #3268 from lucas-clemente/fix-undecryptable-packet-run-loop
enter the regular run loop if no undecryptable packet was processed
This commit is contained in:
@@ -590,7 +590,9 @@ runLoop:
|
|||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if !processedUndecryptablePacket {
|
}
|
||||||
|
// If we processed any undecryptable packets, jump to the resetting of the timers directly.
|
||||||
|
if !processedUndecryptablePacket {
|
||||||
select {
|
select {
|
||||||
case closeErr = <-s.closeChan:
|
case closeErr = <-s.closeChan:
|
||||||
break runLoop
|
break runLoop
|
||||||
|
|||||||
Reference in New Issue
Block a user