-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: limit-conn #2450
Comments
What is the difference between different users? The client's IP address or other things? Please confirm this first. and please provide a mini case which we can reproduce your bug. |
one questions: |
I think you should provide a complete case, we need to know more detailed step information. Mainly two questions:
|
let me confirm it |
that is a bug, fix it soon |
Issue description
I had test the plugin of limit-conn.I found the question that the same ip only request the router by five times when conn is 5 and key is remote_addr, and i don't request the router next time.Why so that?
Environment
apisix version
):Minimal test code / Steps to reproduce the issue
Plugin limit-conn Edit
conn=5
rejected_code=503
burst=0
key=remote_addr
default_conn_delay=0
What's the actual result? (including assertion message & call stack if applicable)
same user only visit the router with the config
What's the expected result?
i hope that the plugin only limit concurrency,and different users also continue to request the router when user request the service after first .
The text was updated successfully, but these errors were encountered: