diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-12-04 14:25:11 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-12-04 14:25:11 +0100 |
| commit | 6f69b188e88bbc6cccb09085b01b7c19b44d4939 (patch) | |
| tree | ba79bcbfb48edcf6b8fd1698ecc039075d9b6ab7 | |
| parent | 1b5b3330a3891b46a822aaaa6810f64191cf72e3 (diff) | |
| parent | 2157b0f4f9e57ba69b8465cd11b9a2bf123f75ee (diff) | |
| download | mullvadvpn-6f69b188e88bbc6cccb09085b01b7c19b44d4939.tar.xz mullvadvpn-6f69b188e88bbc6cccb09085b01b7c19b44d4939.zip | |
Merge branch 'add-openvpn-performance-flags'
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | talpid-core/src/process/openvpn.rs | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b7d167dbb..84fb9cab94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). * **Security**: in case of vulnerabilities. ## [Unreleased] +### Added +- Buffer size and fast-io parameters to OpenVPN. Can double the speed on high latency connections. + ### Fixed - Hold off notifying the frontend of the 'unsecure' state until the VPN tunnel is actually completely disconnected. 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] = &[ |
