|
|
@ -71,9 +71,7 @@ func (rm routeMachine) route(c *C, w http.ResponseWriter, r *http.Request) (meth |
|
|
return 0, &rm.routes[si] |
|
|
return 0, &rm.routes[si] |
|
|
} |
|
|
} |
|
|
i++ |
|
|
i++ |
|
|
} else if (match && sm&smJumpOnMatch != 0) || |
|
|
|
|
|
(!match && sm&smJumpOnMatch == 0) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else if match != (sm&smJumpOnMatch == 0) { |
|
|
if sm&smFail != 0 { |
|
|
if sm&smFail != 0 { |
|
|
return methods, nil |
|
|
return methods, nil |
|
|
} |
|
|
} |
|
|
|