mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2026-11-26 15:54:36 +00:00
hbbs drops a connection whose frame header announces more than MAX_MESSAGE_KB (default 64, capped at 65536) on 21115, 21116 and the websocket 21118, and gives each websocket 8 KiB buffers instead of tungstenite's 128 KiB default. hbbr bounds the relay request to 128 KiB until the two legs pair, then lifts the bound on framed legs and restores tungstenite's defaults on websocket legs. That needs set_config on an accepted stream, so tokio-tungstenite and tungstenite now come from the rustdesk-org forks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JAxkkh9Gd5dwGW8vL9JNV8