protocol: Forward lifecycle Start stage to nested outbounds in vpn, failover and limiters

This commit is contained in:
Shtorm
2026-09-05 04:30:03 +03:00
parent 08703c9035
commit 64605fc47a
6 changed files with 71 additions and 49 deletions
+4
View File
@@ -78,6 +78,10 @@ func NewClientEndpoint(ctx context.Context, router adapter.Router, logger log.Co
}
func (c *ClientEndpoint) Start(stage adapter.StartStage) error {
err := adapter.LegacyStart(c.outbound, stage)
if err != nil {
return err
}
if stage != adapter.StartStatePostStart {
return nil
}