You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function_M.access(conf, ctx)
returnlimit_conn.increase(conf, ctx)
endfunction_M.log(conf, ctx)
returnlimit_conn.decrease(conf, ctx)
end
if the request is interrupt in phase access like
function_M.access(conf, ctx)
return500end
the log phase would not be executed, then the value of limiting is keep increasing and never decrease; and all the following requests would be rejected.
the data is in shared_dict, so can't reset it via apisix reload
Expected Behavior
decrease the value
Error Logs
No response
Steps to Reproduce
enable limit-conn
enable another plugin to return 500 in access
Environment
APISIX version (run apisix version): 3.2
Operating system (run uname -a):
OpenResty / Nginx version (run openresty -V or nginx -V):
etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
APISIX Dashboard version, if relevant:
Plugin runner version, for issues related to plugin runners:
LuaRocks version, for installation issues (run luarocks --version):
The text was updated successfully, but these errors were encountered:
Current Behavior
https://github.com/apache/apisix/blob/master/apisix/plugins/limit-conn.lua#L84-L91
if the request is interrupt in phase
access
likethe
log
phase would not be executed, then the value of limiting is keep increasing and never decrease; and all the following requests would be rejected.the data is in shared_dict, so can't reset it via
apisix reload
Expected Behavior
decrease the value
Error Logs
No response
Steps to Reproduce
Environment
apisix version
): 3.2uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: