mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 04:37:31 +08:00
Disable reroute in some plugins (#2639)
This commit is contained in:
@@ -198,6 +198,7 @@ func parseConfig(json gjson.Result, c *PluginConfig, log log.Log) error {
|
||||
}
|
||||
|
||||
func onHttpRequestHeaders(ctx wrapper.HttpContext, config PluginConfig, log log.Log) types.Action {
|
||||
ctx.DisableReroute()
|
||||
log.Debug("start onHttpRequestHeaders function.")
|
||||
|
||||
log.Debug("end onHttpRequestHeaders function.")
|
||||
|
||||
Reference in New Issue
Block a user