mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 13:05:56 +00:00
fix Context.Proceed called on last handler in the chain
relative: https://github.com/kataras/iris/issues/1581#issuecomment-673958152
This commit is contained in:
@@ -36,7 +36,7 @@ var (
|
||||
|
||||
firstUseRouterResponse = "userouter1"
|
||||
// Use inline handler, no the `writeHandler`,
|
||||
// because it will be overriden by `secondUseRouterHandler` otherwise,
|
||||
// because it will be overridden by `secondUseRouterHandler` otherwise,
|
||||
// look `UseRouter:context.UpsertHandlers` for more.
|
||||
firstUseRouterHandler = func(ctx iris.Context) {
|
||||
ctx.WriteString(firstUseRouterResponse)
|
||||
|
||||
Reference in New Issue
Block a user