From 4db2a67dec7514b360364c5280f53375a7013e39 Mon Sep 17 00:00:00 2001 From: Zhefeng Chen Date: Fri, 11 Nov 2022 17:23:13 +0800 Subject: [PATCH] feat(kong-ngx-build): enable the no-pool patch in debug mode to facilitate debugging memory issues --- openresty-build-tools/kong-ngx-build | 1 + 1 file changed, 1 insertion(+) diff --git a/openresty-build-tools/kong-ngx-build b/openresty-build-tools/kong-ngx-build index d90d8d81..59f15cd6 100755 --- a/openresty-build-tools/kong-ngx-build +++ b/openresty-build-tools/kong-ngx-build @@ -816,6 +816,7 @@ main() { if [ $DEBUG == 1 ]; then OPENRESTY_OPTS+=('--with-debug') + OPENRESTY_OPTS+=('--with-no-pool-patch') OPENRESTY_OPTS+=('--with-luajit-xcflags="-DLUAJIT_USE_VALGRIND -DLUA_USE_ASSERT -DLUA_USE_APICHECK -DLUAJIT_USE_SYSMALLOC"') fi