From 7eb64b5c574ea961d4c75c46904376b148e385e9 Mon Sep 17 00:00:00 2001 From: Caio Ramos Casimiro Date: Mon, 2 Dec 2024 20:00:15 +0000 Subject: [PATCH] misc(*) increase max trap length The trap message describing the lua_resolver being called in unsupported context exceeds the current limit. --- src/wasm/vm/ngx_wavm_host.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wasm/vm/ngx_wavm_host.h b/src/wasm/vm/ngx_wavm_host.h index 9802d8333..45ba33fa8 100644 --- a/src/wasm/vm/ngx_wavm_host.h +++ b/src/wasm/vm/ngx_wavm_host.h @@ -50,7 +50,7 @@ extern const wasm_valkind_t *ngx_wavm_arity_i32x5_i64x2_i32x2[]; /* hfuncs */ -#define NGX_WAVM_HFUNCS_MAX_TRAP_LEN 128 +#define NGX_WAVM_HFUNCS_MAX_TRAP_LEN 256 #define ngx_wavm_hfunc_null { ngx_null_string, NULL, NULL, NULL }