Continue instead of early return on unknown key id
This commit is contained in:
parent
e606a261f4
commit
ffe7fc0a0a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue