From b275d7c6f5800be132a3f37734bf91e693726759 Mon Sep 17 00:00:00 2001 From: astaxie Date: Sun, 14 Jun 2015 01:14:33 +0800 Subject: [PATCH] Revert "Revert "fix multiple filters execute issue"" --- router.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/router.go b/router.go index ca6d917a..688b227d 100644 --- a/router.go +++ b/router.go @@ -611,9 +611,6 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request) if p.enableFilter { if l, ok := p.filters[pos]; ok { for _, filterR := range l { - if filterR.returnOnOutput && w.started { - return true - } if ok, params := filterR.ValidRouter(urlPath); ok { for k, v := range params { context.Input.Params[k] = v