Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(balancer) protect against nil request context data (#6416)
Fix errors like these: ``` 2020/10/01 14:09:57 [debug] 5632#0: *95 [lua] base_plugin.lua:26: access(): executing plugin "canary": access 2020/10/01 14:09:57 [error] 5632#0: *95 [kong] init.lua:266 [canary] /kong/kong/runloop/balancer.lua:1097: attempt to index local 'ctx' (a nil value), client: 127.0.0.1, server: kong, request: "GET / HTTP/1.1", host: "canary5.com" 2020/10/01 14:09:57 [debug] 5632#0: *95 [lua] base_plugin.lua:26: access(): executing plugin "canary": access 2020/10/01 14:09:57 [error] 5632#0: *95 [kong] init.lua:266 [canary] /kong/kong/runloop/balancer.lua:1097: attempt to index local 'ctx' (a nil value), client: 127.0.0.1, server: kong, request: "GET / HTTP/1.1", host: "canary5.com"' ```
- Loading branch information