-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(wasm): support directive for general shm_kv entry
WasmX supports using non-namespaced entries in proxy-wasm `get_shared_data` and `set_shared_data`. For this, one needs to define a no-namespaced shm_kv using the `shm_kv * <size>` directive. This commit adds `nginx_wasm_main_shm_kv` as a supported option alongside the existing `nginx_wasm_main_shm_kv_<namespace>` entries, for definition of the non-namespaced `shm_kv`.
- Loading branch information
Showing
6 changed files
with
35 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
message: | | ||
Introduce `nginx_wasm_main_shm_kv` configuration entry, which enables | ||
Wasm filters to use the Proxy-Wasm operations `get_shared_data` and | ||
`set_shared_data` without namespaced keys. | ||
type: feature | ||
scope: Configuration |
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
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
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