summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-08-09 17:09:30 +0100
committerAndrew Clayton <a.clayton@nginx.com>2023-08-10 16:58:48 +0100
commit52b334acd1a5678ee111d6db73dc02675c21a277 (patch)
treed971022860b86952a730857e5da9bd6315e9508e /src/nxt_router.c
parent46573e6993552e0ecbcbcd6f4e191b4b2e3f5dc9 (diff)
downloadunit-52b334acd1a5678ee111d6db73dc02675c21a277.tar.gz
unit-52b334acd1a5678ee111d6db73dc02675c21a277.tar.bz2
Wasm: Register a new WebAssembly language module type.
This is the first patch in adding WebAssembly language module support. This just adds a new NXT_APP_WASM type, required by subsequent commits. Reviewed-by: Alejandro Colomar <alx@nginx.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r--src/nxt_router.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 5d9c60a1..4e3cb303 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -280,6 +280,7 @@ static const nxt_str_t *nxt_app_msg_prefix[] = {
[NXT_APP_PERL] = &http_prefix,
[NXT_APP_RUBY] = &http_prefix,
[NXT_APP_JAVA] = &empty_prefix,
+ [NXT_APP_WASM] = &empty_prefix,
};