Skip to content

Commit

Permalink
misc(*) increase max trap length
Browse files Browse the repository at this point in the history
The trap message describing the lua_resolver being called in unsupported
context exceeds the current limit.
  • Loading branch information
casimiro committed Dec 5, 2024
1 parent adf7144 commit 2ff33de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wasm/vm/ngx_wavm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down

0 comments on commit 2ff33de

Please sign in to comment.