eduvpn / apple

app for iOS and macOS
Other
62 stars 18 forks source link

iOS: Prevent NETunnelProviderSession initialization after disconnect #272

Closed joosth9n closed 4 years ago

joosth9n commented 4 years ago

Like on macOS, this fix prevents a possible reconnect issue on iOS, a new NETunnelProviderSession shouldn't be initialised after a disconnect. Connection Info should only be updated when in a connected state, a change for macOS in regard to this is included in this commit too.

jeroenleenarts commented 4 years ago

Small change big impact. :)