From 39b66ad2fc1404bb3c8269a861c68df42abb7752 Mon Sep 17 00:00:00 2001 From: chronolaw Date: Thu, 2 Feb 2023 17:53:22 +0800 Subject: [PATCH] disable ngx_lua_assert --- .../patches/ngx_lua-0.10.21_02-dyn_upstream_keepalive.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/openresty/patches/ngx_lua-0.10.21_02-dyn_upstream_keepalive.patch b/build/openresty/patches/ngx_lua-0.10.21_02-dyn_upstream_keepalive.patch index 71b6d580d384..0f178341e37d 100644 --- a/build/openresty/patches/ngx_lua-0.10.21_02-dyn_upstream_keepalive.patch +++ b/build/openresty/patches/ngx_lua-0.10.21_02-dyn_upstream_keepalive.patch @@ -673,7 +673,7 @@ index f71a3e00..0d403716 100644 + + items = (ngx_http_lua_balancer_keepalive_item_t *) (&upool->free + 1); + -+ ngx_http_lua_assert((void *) items == ngx_align_ptr(items, NGX_ALIGNMENT)); ++ /*ngx_http_lua_assert((void *) items == ngx_align_ptr(items, NGX_ALIGNMENT));*/ + + for (i = 0; i < cpool_size; i++) { + ngx_queue_insert_head(&upool->free, &items[i].queue);