summaryrefslogtreecommitdiffhomepage
path: root/talpid-core
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-12-04 12:50:21 +0100
committerLinus Färnstrand <linus@mullvad.net>2017-12-04 13:39:12 +0100
commitbb92403b068838b1b5633b415cdfbbefdc65b2be (patch)
treebb9714b9b1147cc0bf194bdcfc7f51b1470ed97f /talpid-core
parent1b5b3330a3891b46a822aaaa6810f64191cf72e3 (diff)
downloadmullvadvpn-bb92403b068838b1b5633b415cdfbbefdc65b2be.tar.xz
mullvadvpn-bb92403b068838b1b5633b415cdfbbefdc65b2be.zip
Add sndbuf, rcvbuf and fast-io arguments to OpenVPN
Diffstat (limited to 'talpid-core')
-rw-r--r--talpid-core/src/process/openvpn.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/talpid-core/src/process/openvpn.rs b/talpid-core/src/process/openvpn.rs
index ec0487c4bd..3b1ce30a55 100644
--- a/talpid-core/src/process/openvpn.rs
+++ b/talpid-core/src/process/openvpn.rs
@@ -17,6 +17,9 @@ static BASE_ARGUMENTS: &[&[&str]] = &[
&["--connect-retry-max", "1"],
&["--comp-lzo"],
&["--remote-cert-tls", "server"],
+ &["--rcvbuf", "524288"],
+ &["--sndbuf", "524288"],
+ &["--fast-io"],
];
static ALLOWED_TLS_CIPHERS: &[&str] = &[