summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-08-25 02:42:41 +0100
committerAndrew Clayton <a.clayton@nginx.com>2023-08-25 02:43:53 +0100
commita6bc364838d06dda56252c65f9d30c29effac992 (patch)
tree249e7341b193fac3c3ea6937f22ca2404fbfe504
parentd1e442b3752afa0b036b2480ee4f4bc8517aa85a (diff)
downloadunit-wasm-a6bc364838d06dda56252c65f9d30c29effac992.tar.gz
unit-wasm-a6bc364838d06dda56252c65f9d30c29effac992.tar.bz2
README, conf: Use correct Rust echo-request name
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
-rw-r--r--README.md6
-rw-r--r--unit-wasm-conf.json6
2 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 0bb6814..fd5af73 100644
--- a/README.md
+++ b/README.md
@@ -269,7 +269,7 @@ Create the following Unit config
"uri": "/rust-echo*"
},
"action": {
- "pass": "applications/rust-echo-test"
+ "pass": "applications/rust-echo-request"
}
},
{
@@ -301,9 +301,9 @@ Create the following Unit config
"request_end_handler": "luw_request_end_handler",
"response_end_handler": "luw_response_end_handler"
},
- "rust-echo-test": {
+ "rust-echo-request": {
"type": "wasm",
- "module": "/path/to/unit-wasm/examples/rust/echo-request/target/wasm32-wasi/debug/rust_echo_test.wasm",
+ "module": "/path/to/unit-wasm/examples/rust/echo-request/target/wasm32-wasi/debug/rust_echo_request.wasm",
"request_handler": "luw_request_handler",
"malloc_handler": "luw_malloc_handler",
"free_handler": "luw_free_handler",
diff --git a/unit-wasm-conf.json b/unit-wasm-conf.json
index fe997b3..3cb7267 100644
--- a/unit-wasm-conf.json
+++ b/unit-wasm-conf.json
@@ -33,7 +33,7 @@
"uri": "/rust-echo*"
},
"action": {
- "pass": "applications/rust-echo-test"
+ "pass": "applications/rust-echo-request"
}
},
{
@@ -65,9 +65,9 @@
"request_end_handler": "luw_request_end_handler",
"response_end_handler": "luw_response_end_handler"
},
- "rust-echo-test": {
+ "rust-echo-request": {
"type": "wasm",
- "module": "/path/to/unit-wasm/examples/rust/echo-request/target/wasm32-wasi/debug/rust_echo_test.wasm",
+ "module": "/path/to/unit-wasm/examples/rust/echo-request/target/wasm32-wasi/debug/rust_echo_request.wasm",
"request_handler": "luw_request_handler",
"malloc_handler": "luw_malloc_handler",
"free_handler": "luw_free_handler",