enter the regular run loop if no undecryptable packet was processed

This commit is contained in:
Marten Seemann
2021-09-08 15:35:53 +01:00
parent ebcd98ed43
commit a54b00e770

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