diff options
| -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"], ]; |
