summaryrefslogtreecommitdiffhomepage
path: root/talpid-core
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2018-10-08 11:00:05 +0100
committerEmīls Piņķis <emils@mullvad.net>2018-10-08 13:26:53 +0100
commitdacb0eacafea6ea1a9769c2c8c560d29fbe38e1d (patch)
tree2ef6338168c65105e599b396004ee77bc573f2d1 /talpid-core
parentaf6141a0667665a078d1cb90202accaeaca21fef (diff)
downloadmullvadvpn-dacb0eacafea6ea1a9769c2c8c560d29fbe38e1d.tar.xz
mullvadvpn-dacb0eacafea6ea1a9769c2c8c560d29fbe38e1d.zip
Pass --connect-timeout 30 to openvpn
Diffstat (limited to 'talpid-core')
-rw-r--r--talpid-core/src/process/openvpn.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/talpid-core/src/process/openvpn.rs b/talpid-core/src/process/openvpn.rs
index 6cc91371a0..dad14f6673 100644
--- a/talpid-core/src/process/openvpn.rs
+++ b/talpid-core/src/process/openvpn.rs
@@ -22,6 +22,7 @@ static BASE_ARGUMENTS: &[&[&str]] = &[
&["--dev-type", "tun"],
&["--ping", "3"],
&["--ping-exit", "15"],
+ &["--connect-timeout", "30"],
&["--connect-retry", "0", "0"],
&["--connect-retry-max", "1"],
&["--remote-cert-tls", "server"],