dropbear: increase default receive window size
authorDavid Bauer <mail@david-bauer.net>
Thu, 28 Dec 2023 22:16:02 +0000 (23:16 +0100)
committerRISCi_ATOM <bob@bobcall.me>
Wed, 3 Jan 2024 16:03:11 +0000 (11:03 -0500)
commit77a0e553c85695977df94fbe524f05ba0b0e0f2a
treec003057b1ee91ac6263a197d124df75717995894
parente737b81e111269052c83fce973f3de4d703280aa
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