diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2018-06-04 12:46:29 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2018-06-05 10:58:56 +0200 |
| commit | 7c6ce6ba46d69abb10720d0616fa9c9e9f44fffe (patch) | |
| tree | 0dde9618978385462565a2a4472388029d7c1f52 | |
| parent | bf45abee6d86436d89207f91139ef7891f326a56 (diff) | |
| download | mullvadvpn-7c6ce6ba46d69abb10720d0616fa9c9e9f44fffe.tar.xz mullvadvpn-7c6ce6ba46d69abb10720d0616fa9c9e9f44fffe.zip | |
Bump OpenVPN buffer sizes to 1048576
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | talpid-core/src/process/openvpn.rs | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index d2d63537f7..749fb4ec83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ Line wrap the file at 100 chars. Th directories. - Replaced previously bundled OpenVPN 2.4.4 with statically linked 2.4.6 version containing Mullvad patches for faster connect and other improvements. +- Increase the OpenVPN receive and send buffers from 524288 to 1048576 bytes (1MiB). #### macOS - The installer changed from dmg to pkg format. diff --git a/talpid-core/src/process/openvpn.rs b/talpid-core/src/process/openvpn.rs index 805d97c0a6..89dcd40d0e 100644 --- a/talpid-core/src/process/openvpn.rs +++ b/talpid-core/src/process/openvpn.rs @@ -24,8 +24,8 @@ static BASE_ARGUMENTS: &[&[&str]] = &[ &["--connect-retry-max", "1"], &["--comp-lzo"], &["--remote-cert-tls", "server"], - &["--rcvbuf", "524288"], - &["--sndbuf", "524288"], + &["--rcvbuf", "1048576"], + &["--sndbuf", "1048576"], &["--fast-io"], &["--cipher", "AES-256-CBC"], ]; |
