Skip to content

change: bumped ngx_http_lua_version to 10033. - #2540

Closed
oowl wants to merge 2 commits into
openresty:masterfrom
oowl:change/bump-0.10.33
Closed

oowl wants to merge 2 commits into
openresty:masterfrom
oowl:change/bump-0.10.33

Conversation

@oowl

@oowl oowl commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Bumps ngx_http_lua_version from 10032 to 10033 (0.10.33).

Why

#2536 changes the FFI signature of ngx_http_lua_ffi_balancer_enable_keepalive() (new pool_size argument). lua-resty-core checks ngx.config.ngx_lua_version exactly. Bumping the version lets an updated lua-resty-core refuse an older ngx_lua, and the other way round, instead of calling the FFI function with mismatched arguments.

Paired PR

This must be merged together with openresty/lua-resty-core#547, which requires 10033 (and bumps lua-resty-core to 0.1.36). Merged alone, either side fails to load resty.core.

Related feature PRs: #2536 (C side), openresty/lua-resty-core#544 (Lua side).

Temporary CI commit

CI clones lua-resty-core master, which still requires 10032 and would fail to load. The last commit (tests: TEMPORARY: ...) points CI at the branch of openresty/lua-resty-core#547. Drop it before merging.

Testing (local, nginx 1.31.8)

  • bumped nginx + bumped lua-resty-core: lua-resty-core t/balancer*.t, t/count.t, t/var.t, t/request.t, t/shdict.t, and lua-nginx-module t/000-sanity.t, t/001-set.t, t/138-balancer.t, t/188-balancer_keepalive_pool_max_retry.t all pass
  • old nginx (10032) + bumped lua-resty-core: nginx refuses to start ("failed to load the 'resty.core' module"), as intended
  • bumped nginx + lua-resty-core master: same, as intended

oowl added 2 commits October 27, 2026 16:53
The FFI signature of ngx_http_lua_ffi_balancer_enable_keepalive() changes
in openresty#2536 (pool_size). Bumping the version lets
lua-resty-core require the matching ngx_lua instead of calling the FFI
function with the wrong arguments.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@oowl oowl closed this Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants