summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOdd Stranne <odd@mullvad.net>2019-04-11 12:34:19 +0200
committerOdd Stranne <odd@mullvad.net>2019-04-11 12:34:19 +0200
commitb3e509b94b574a42910bb4df5c834c77d43e2a57 (patch)
treea52a9e203b06bbc7b1f20cdba4409b2fb2002d13
parent8b2d13d07a974dad22b35954426f47b93be9253e (diff)
parent4d73dec2a5e33a26d1d0f42b2dbd9561eeac85dd (diff)
downloadmullvadvpn-b3e509b94b574a42910bb4df5c834c77d43e2a57.tar.xz
mullvadvpn-b3e509b94b574a42910bb4df5c834c77d43e2a57.zip
Merge branch 'increase-set-dns-timeout'
-rw-r--r--CHANGELOG.md1
-rw-r--r--windows/windns/src/windns/netsh.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2408c1a968..069e956e9a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -33,6 +33,7 @@ Line wrap the file at 100 chars. Th
### Changed
#### Windows
- Make the firewall rules permanent until reboot, or until the daemon removes them.
+- Increase timeout when updating DNS settings.
## [2019.3] - 2019-04-02
### Fixed
diff --git a/windows/windns/src/windns/netsh.cpp b/windows/windns/src/windns/netsh.cpp
index b1b9dbc677..1b703bcd66 100644
--- a/windows/windns/src/windns/netsh.cpp
+++ b/windows/windns/src/windns/netsh.cpp
@@ -260,7 +260,7 @@ NetSh::NetSh(ILogSink *logSink)
void NetSh::ValidateShellOut(common::ApplicationRunner &netsh, uint32_t timeout)
{
- const uint32_t actualTimeout = (0 == timeout ? 3000 : timeout);
+ const uint32_t actualTimeout = (0 == timeout ? 10000 : timeout);
const auto startTime = GetTickCount64();