summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--talpid-core/src/firewall/windows.rs3
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 34c22f9ae3..db6e9d55b3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -50,6 +50,7 @@ Line wrap the file at 100 chars. Th
- Update wireguard-nt to 0.10.1.
- Make wireguard-nt the default driver for WireGuard. This is used instead of wireguard-go and
Wintun.
+- Increase firewall transaction timeout from 2 to 5 seconds.
### Fixed
- Always kill `sslocal` if the tunnel monitor fails to start when using bridges.
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(());