Commit 8685f8b8 authored by Max Lv's avatar Max Lv

Limit open sockets to 256 in UDP association. Fix #2625

parent c18d99e8
......@@ -73,6 +73,7 @@ class ProxyInstance(val profile: Profile, private val route: String = profile.ro
}
config.put("local_address", DataStore.listenAddress)
config.put("local_port", DataStore.portProxy)
config.put("udp_max_associations", 256);
configFile.writeText(config.toString())
val cmd = arrayListOf(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment