Skip to content

Lua plugin support for connection exempt list#12849

Draft
shukitchan wants to merge 4 commits intoapache:masterfrom
shukitchan:lua-connection-exempt-list
Draft

Lua plugin support for connection exempt list#12849
shukitchan wants to merge 4 commits intoapache:masterfrom
shukitchan:lua-connection-exempt-list

Conversation

@shukitchan
Copy link
Contributor

@shukitchan shukitchan commented Feb 3, 2026

This is related to #12198
Supporting the new API in lua plugin

@shukitchan shukitchan added this to the 10.2.0 milestone Feb 3, 2026
@shukitchan shukitchan self-assigned this Feb 3, 2026
@shukitchan shukitchan changed the title Lua connection exempt list Lua plugin support for connection exempt list Feb 3, 2026
@shukitchan shukitchan requested a review from Copilot February 3, 2026 01:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Lua plugin bindings and documentation for managing the per-client connection limit exempt list via the new TS APIs introduced alongside proxy.config.http.per_client.connection.exempt_list (#12198).

Changes:

  • Expose ts.connection_limit_exempt_list_add/remove/clear in the Lua plugin misc API table.
  • Implement Lua-to-TS wrappers calling TSConnectionLimitExemptListAdd/Remove/Clear.
  • Document the new Lua APIs in the Lua admin guide.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
plugins/lua/ts_lua_misc.cc Adds Lua bindings for add/remove/clear of the connection limit exempt list.
doc/admin-guide/plugins/lua.en.rst Documents the new Lua APIs with syntax, descriptions, and examples.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@shukitchan shukitchan marked this pull request as draft February 3, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant