-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(proxy-wasm) load filter from lua - WasmX as module
When WasmX is compiled as shared library and loaded into Nginx via `load_module`, its modules will end up after `ngx_http_lua_module` in `ngx_cycle->modules` list. As a result, `ngx_http_lua_init_worker_by_inline` -- which might try to load wasm filters -- is called before `ngx_wasm_core_init_process` -- which prepares a wasm vm -- is ever called, causing the load to fail.
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters