Continue instead of early return on unknown key id

This commit is contained in:
Johan Kool 2020-03-19 10:40:13 +01:00
parent e606a261f4
commit ffe7fc0a0a
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ public class OpenVPNSession: Session {
guard let _ = keys[key] else {
log.warning("Key with id \(key) not found")
// deferStop(.shutdown, OpenVPNError.badKey)
return
continue // JK: This used to be return, but we'd see connections that would stay in Connecting state forever
}
// XXX: improve with array reference