diff options
| author | David Lönnhager <david.l@mullvad.net> | 2021-12-13 17:14:36 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2021-12-17 15:31:25 +0100 |
| commit | 673d3302c2a1deee73da1687a0e6953eb9839dbe (patch) | |
| tree | 9cfed0f934a7906c3a936791d95f15e96d2772b6 /talpid-core/src | |
| parent | 209cc97133e16286e86ab919fcbbbfeba66d4b11 (diff) | |
| download | mullvadvpn-673d3302c2a1deee73da1687a0e6953eb9839dbe.tar.xz mullvadvpn-673d3302c2a1deee73da1687a0e6953eb9839dbe.zip | |
Increase firewall transaction lock timeout on Windows
Diffstat (limited to 'talpid-core/src')
| -rw-r--r-- | talpid-core/src/firewall/windows.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/talpid-core/src/firewall/windows.rs b/talpid-core/src/firewall/windows.rs index 989e453ff7..26f773eff4 100644 --- a/talpid-core/src/firewall/windows.rs +++ b/talpid-core/src/firewall/windows.rs @@ -45,7 +45,8 @@ pub enum Error { SetTunMetric(#[error(source)] crate::winnet::Error), } -const WINFW_TIMEOUT_SECONDS: u32 = 2; +/// Timeout for acquiring the WFP transaction lock +const WINFW_TIMEOUT_SECONDS: u32 = 5; /// The Windows implementation for the firewall and DNS. pub struct Firewall(()); |
