Standalone
Former-commit-id: b038d91a5a5a8f0e4d3764b15bc9a0d794794a7b [formerly 0b8133d71d207fcdcbcc5c11bd1a8206c26261e3] [formerly 51bef56f774c2f75bfc65a378103196af9a7775c [formerly d1c6daf6476fbc3f02890fca41b919e464a2f5b5]] Former-commit-id: 6c05933dfa591fbe6f98910143a3f035e2e5d763 [formerly 5d46ca10688eb150dff935472cc17b47b790446e] Former-commit-id: e9e682359e0eb9b081762bca699b498454cff435
This commit is contained in:
@@ -44,7 +44,7 @@ func (f plugin) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) {
|
||||
continue
|
||||
}
|
||||
|
||||
return f.Configs[i].ServeHTTP(w, r)
|
||||
return f.Configs[i].ServeWithErrorHTTP(w, r)
|
||||
}
|
||||
|
||||
return f.Next.ServeHTTP(w, r)
|
||||
|
||||
@@ -170,7 +170,7 @@ func (p plugin) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) {
|
||||
continue
|
||||
}
|
||||
|
||||
return p.Configs[i].ServeHTTP(w, r)
|
||||
return p.Configs[i].ServeWithErrorHTTP(w, r)
|
||||
}
|
||||
|
||||
return p.Next.ServeHTTP(w, r)
|
||||
|
||||
Reference in New Issue
Block a user