fix: improve SDK UDP throughput and transport selection

Yield during UDP receive bursts to let session consumers drain bounded queues. Prioritize measured RTT over protocol preference and enlarge user-space subnet TCP buffers with validated limits.

Add packet-level throughput diagnostics, transport selection coverage, and investigation records. SDK regression suite: 21 tests passed; local delay and throughput experiments documented.
This commit is contained in:
shen
2026-10-15 23:53:10 -07:00
parent c1d0739b95
commit b656c1896a
21 changed files with 1954 additions and 33 deletions
@@ -826,7 +826,7 @@ class _NetworkConfigPageState extends State<NetworkConfigPage> {
),
text('持续确认(秒)', 'hold_seconds', map: policy, number: true),
text('切换冷却(秒)', 'cooldown_seconds', map: policy, number: true),
toggle('优先已确认 UDP', 'prefer_udp', map: policy, defaultValue: true),
toggle('相同延迟优先 UDP', 'prefer_udp', map: policy, defaultValue: true),
text(
'候选中继节点 ID(每行一个)',
'relay_peer_ids',