mirror of
https://github.com/alibaba/higress.git
synced 2026-05-27 22:27:29 +08:00
golang-filter use go 1.22
This commit is contained in:
@@ -21,6 +21,9 @@ type filter struct {
|
||||
|
||||
func (f *filter) DecodeHeaders(header api.RequestHeaderMap, endStream bool) api.StatusType {
|
||||
url := common.NewRequestURL(header)
|
||||
if url == nil {
|
||||
return api.Continue
|
||||
}
|
||||
f.path = url.ParsedURL.Path
|
||||
|
||||
for _, server := range f.config.servers {
|
||||
|
||||
Reference in New Issue
Block a user