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:
Marten Seemann
2021-10-13 08:55:19 +01:00
committed by GitHub

View File

@@ -590,7 +590,9 @@ runLoop:
default:
}
}
} else if !processedUndecryptablePacket {
}
// If we processed any undecryptable packets, jump to the resetting of the timers directly.
if !processedUndecryptablePacket {
select {
case closeErr = <-s.closeChan:
break runLoop