3x-ui/internal/mtproto
MHSanaei 3471cecbda
fix(mtproto): leave clients mtg cannot parse out of the generated config
One mtg-multi process serves every client of an MTProto inbound from a
single TOML file and refuses the whole file over one value it cannot
parse. InstanceFromInbound already guarded the ad tag for that reason
but copied secret, quota and expiry as stored, so a malformed secret, a
year-10000 expiry or a near-MaxInt64 quota on one client took the
sidecar down for everyone on the inbound.

A client whose secret mtg cannot parse is left out with a warning, and
quota and expiry are capped at what mtg accepts.
2026-11-01 13:27:02 +01:00
..
manager.go fix(mtproto): leave clients mtg cannot parse out of the generated config 2026-11-01 13:27:02 +01:00
manager_mutation_test.go feat(mtproto): per-client ad-tags, management-API auth, and record secret sync 2026-07-07 12:00:43 +02:00
manager_reload_test.go fix(mtproto): synchronize child-process lifecycle (#6141) 2026-07-29 20:56:26 +02:00
manager_test.go fix(mtproto): leave clients mtg cannot parse out of the generated config 2026-11-01 13:27:02 +01:00
orphans_linux.go
orphans_other.go
process.go fix(mtproto): synchronize child-process lifecycle (#6141) 2026-07-29 20:56:26 +02:00
process_other.go
process_race_test.go fix(mtproto): synchronize child-process lifecycle (#6141) 2026-07-29 20:56:26 +02:00
process_windows.go style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00