The last filterFunc with returnOnOutput=ture won't be executed
ex:
beego.InsertFilter("/*", beego.BeforeExec, FilterLoginCheck1,false)
beego.InsertFilter("/*", beego.BeforeExec, FilterLoginCheck2)
In function FilterLoginCheck1 , I'll write data via ResponseWriter, and w.started = true
FilterLoginCheck2 won't be executed, it should be.
Showing
1 changed file
with
0 additions
and
3 deletions
-
Please register or sign in to post a comment