The traffic poll read every Xray counter in one QueryStats reply under gRPC's default 4 MiB receive limit; past it the whole poll failed and no client was counted, so quotas stopped being enforced. Outbound counters carry tags derived from third-party link remarks, so one long remark was enough. Poll the user, inbound and outbound families separately with a 64 MiB limit, keep counting the families that answer, and cap a subscription link's slug at 64 runes so the tag stays small to begin with. |
||
|---|---|---|
| .. | ||
| common | ||
| cronspec | ||
| crypto | ||
| json_util | ||
| ldap | ||
| link | ||
| maskcompat | ||
| netproxy | ||
| netsafe | ||
| random | ||
| reflect_util | ||
| sys | ||
| totp | ||
| version | ||
| wirecodec | ||
| wireguard | ||