dickens7 commented on issue #2006: URL: https://github.com/apache/apisix/issues/2006#issuecomment-756699567
What is the meaning of this code > https://github.com/apache/apisix/blob/master/apisix/init.lua#L365-L368 ```lua 365 api_ctx.plugins = nil 366 api_ctx.conf_type = nil 367 api_ctx.conf_version = nil 368 api_ctx.conf_id = nil ``` - apisix 2.1 ``` 2021/01/08 10:58:50 [error] 79#79: *440247 failed to run header_filter_by_lua*: /usr/local/apisix/apisix/core/lrucache.lua:162: invalid value (nil) at index 1 in table for 'concat' stack traceback: [C]: in function 'concat' /usr/local/apisix/apisix/core/lrucache.lua:162: in function 'plugin_ctx' /usr/local/apisix/apisix/plugins/cors.lua:168: in function 'phase_func' /usr/local/apisix/apisix/init.lua:160: in function 'run_plugin' /usr/local/apisix/apisix/init.lua:615: in function 'common_phase' /usr/local/apisix/apisix/init.lua:652: in function 'http_header_filter_phase' ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
