diff options
author | Roopesh Chander <roop@roopc.net> | 2018-12-21 15:40:04 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2018-12-21 15:52:47 +0530 |
commit | 28ce4d516435306b929aba4a7ccbed00bf16e309 (patch) | |
tree | 3361c59eae9724a48efc506ad2ad92f569606ba8 /WireGuard/WireGuard/ZipArchive | |
parent | Added missing param in MockTunnels (diff) | |
download | wireguard-apple-28ce4d516435306b929aba4a7ccbed00bf16e309.tar.xz wireguard-apple-28ce4d516435306b929aba4a7ccbed00bf16e309.zip |
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
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/ZipArchive')
0 files changed, 0 insertions, 0 deletions