wireguard-apple/WireGuard
Roopesh Chander 115e057d96 NE: Change handling of bad domain names and Activate On Demand
The solution implemented in commit b8c331c causes the tunnel to
remain in 'Activating' state, without the ability to cancel that.

So, in this commit, instead of retrying DNS silently on
Activated-On-Demand tunnels, we fail the startTunnel() silently.

To summarize, if activate-on-demand is on:
  - If started from the WireGuard app, show error using lastErrorFile
    mechanism, suggesting a way to turn off Activate On Demand
  - If not started from WireGuard app, don't call displayMessage()
    (don't show error to user) and silently fail starting the tunnel
2018-12-21 15:52:47 +05:30
..
Shared Enabled more swiftlint rules 2018-12-20 11:22:37 -06:00
WireGuard Added missing param in MockTunnels 2018-12-20 13:51:44 -06:00
WireGuard.xcodeproj Added a String->[String] helper 2018-12-20 10:46:26 -06:00
WireGuardNetworkExtension NE: Change handling of bad domain names and Activate On Demand 2018-12-21 15:52:47 +05:30
.swiftlint.yml Enabled more swiftlint rules 2018-12-20 11:22:37 -06:00