dropbear: increase default receive window size
authorDavid Bauer <mail@david-bauer.net>
Thu, 28 Dec 2023 22:16:02 +0000 (23:16 +0100)
committerDavid Bauer <mail@david-bauer.net>
Wed, 3 Jan 2024 15:37:13 +0000 (16:37 +0100)
commit5cc1918a7a0bed42eaf8a26afff6091336c62af5
tree022321b4cfce1da220e29d3d62e66640d61eff55
parent60e49cf1703145f2613a807faf9c0e63f497bd73
dropbear: increase default receive window size

Increasing the receive window size improves throughout on higher-latency
links such as WAN connections. The current default of 24KB caps out at
around 500 KB/s.

Increasing the receive buffer to 256KB increases the throughput to at
least 11 MB/s.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit f95eecfb21ff08662e022accd30e8254028ff63b)
package/network/services/dropbear/files/dropbear.init