udp updates

This commit is contained in:
2026-03-26 20:22:22 +07:00
parent b9364e3e19
commit a7b4539bf8
4 changed files with 31 additions and 67 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ async fn main() -> anyhow::Result<()> {
// ==================================================
let config = EngineConfig::new(&remote_address)
.with_cache_path(".")
.with_mtu(1500);
.with_mtu(1280);
// ВАЖНО: Инициализируем глобальные настройки сети (MTU, размеры буферов Muxer'а)
NetworkConfig::init_global(config.mtu);