3x-ui/internal/mtproto
PathGao 03cc80bb9e
fix(mtproto): synchronize child-process lifecycle (#6141)
* fix(mtproto): synchronize child-process state

Use lifecycle snapshots around the mtg command, completion signal, and exit error so Wait cannot race status and shutdown reads.

* test(mtproto): cover concurrent process exit

* test(mtproto): cover lifecycle field synchronization

---------

Co-authored-by: PathGao <gaoyanbo@gaoyanbodeMacBook-Air.local>
2026-07-29 20:56:26 +02:00
..
manager.go refactor: modernize Go with strings.SplitSeq and maps.Copy 2026-07-08 22:10:54 +02:00
manager_mutation_test.go
manager_reload_test.go fix(mtproto): synchronize child-process lifecycle (#6141) 2026-07-29 20:56:26 +02:00
manager_test.go feat(mtproto): enforce per-client quota & expiry via mtg-multi limits 2026-07-08 15:30:56 +02: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