Skip to content

feat(ohos): 接入 Pro 运行时并自动化 HAR 交付 (#2462) - #11

Open
avkiller wants to merge 4 commits into
avkiller:mainfrom
EasyTier:main
Open

feat(ohos): 接入 Pro 运行时并自动化 HAR 交付 (#2462)#11
avkiller wants to merge 4 commits into
avkiller:mainfrom
EasyTier:main

Conversation

@avkiller

@avkiller avkiller commented Aug 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

FrankHan052176 and others added 4 commits August 1, 2026 16:35
Co-authored-by: FrankHan <frankhan@FrankHans-Mac-mini.local>
Replace periodic refill tasks with on-demand accounting to avoid waking
idle token buckets.

Keep balance, refill time, and fractional credit in one locked state so
concurrent consumers cannot observe partially published refills or
exceed the configured burst capacity. Track credit in nanoseconds and
discard excess credit at capacity to preserve precise limiter behavior.

Use a one-second default burst capacity to preserve the existing
limiter behavior while supporting explicit capacity configuration. Keep
limiter capacity and fill rate in a local config instead of an unused
protobuf message.

Charge only logical EasyTier data payload, unwrap foreign network
packets before accounting, and leave control traffic outside the
limiter. Reject forged payload lengths by accounting from actual packet
boundaries.

Split oversized blocking consumes into capacity-sized chunks and cover
concurrency, refill precision, burst caps, payload accounting, and
bandwidth integration behavior.
Co-authored-by: 225284228a-droid <239500008+225284228a-droid@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants