mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-22 22:01:00 +07:00
feat: support must_xxx outbounds
This commit is contained in:
@ -195,6 +195,12 @@ func (b *ResponseMatcherBuilder) addFallback(fallbackOutbound config.FunctionOrS
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if upstream.Must {
|
||||
return fmt.Errorf("unsupported param: must")
|
||||
}
|
||||
if upstream.Mark != 0 {
|
||||
return fmt.Errorf("unsupported param: mark")
|
||||
}
|
||||
upstreamId, err := b.upstreamToId(upstream.Name)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user