summaryrefslogtreecommitdiffhomepage
path: root/examples/rust/echo-request-wbody/unit-wasm-conf.json
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-08-28 14:43:52 +0100
committerAndrew Clayton <a.clayton@nginx.com>2023-08-28 14:43:52 +0100
commit5bf0dfc92eb57f43dcf2eb29d9647c096b984774 (patch)
treecbb3d380ef83ca600bb9cd44ff495517fdbee2ec /examples/rust/echo-request-wbody/unit-wasm-conf.json
parent011c3ba3f7bc466a04101f81d4f6186001b7aad4 (diff)
downloadunit-wasm-5bf0dfc92eb57f43dcf2eb29d9647c096b984774.tar.gz
unit-wasm-5bf0dfc92eb57f43dcf2eb29d9647c096b984774.tar.bz2
Revert "Adding echo Request with body Parsing"
This reverts commit 011c3ba3f7bc466a04101f81d4f6186001b7aad4. This was committed in error... Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to '')
-rw-r--r--examples/rust/echo-request-wbody/unit-wasm-conf.json36
1 files changed, 0 insertions, 36 deletions
diff --git a/examples/rust/echo-request-wbody/unit-wasm-conf.json b/examples/rust/echo-request-wbody/unit-wasm-conf.json
deleted file mode 100644
index cb799ee..0000000
--- a/examples/rust/echo-request-wbody/unit-wasm-conf.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "listeners": {
- "[::1]:8888": {
- "pass": "routes"
- }
- },
-
- "settings": {
- "http": {
- "max_body_size": 1073741824
- }
- },
-
- "routes": [
- {
- "match": {
- "uri": "/echo*"
- },
- "action": {
- "pass": "applications/rust-echo-request"
- }
- }
- ],
-
- "applications": {
- "rust-echo-request": {
- "type": "wasm",
- "module": "/home/timo/unit1.31/unit-wasm/examples/rust/echo-request-wbody/target/wasm32-wasi/debug/rust_echo_request.wasm",
- "request_handler": "uwr_request_handler",
- "malloc_handler": "luw_malloc_handler",
- "free_handler": "luw_free_handler",
- "module_init_handler": "uwr_module_init_handler",
- "module_end_handler": "uwr_module_end_handler"
- }
- }
-}