fix: apply TUIC v5 UDP relay size clamp when building server options (#2943)

This commit is contained in:
Aaron Chen authored and GitHub committed 2026-07-07 16:21:46 +08:00
1 parent d41d75795e
commit e3972e78fa
1 file changed
+1 -1
+1 -1
View File
@@ -237,7 +237,7 @@ func NewServer(option *ServerOption, pc net.PacketConn) (*Server, error) {
HandleTcpFn: option.HandleTcpFn,
HandleUdpFn: option.HandleUdpFn,
Users: option.Users,
MaxUdpRelayPacketSize: option.MaxUdpRelayPacketSize,
MaxUdpRelayPacketSize: maxUdpRelayPacketSize,
}
}
return server, nil