Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dynamic_hook): support non request-scoped hooks
When a disabled and non-request scoped hook was called outside of a request scope, it was producing an error while trying to index ngx.ctx This commit adds a check to early return from is_group_enabled when outside of the request scope This allows for hooks to still work when used in other contexts where they can be enabled via the always_enable() function
- Loading branch information