bug: limit-conn
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 (cmd:
apisix version): - OS:
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 .
i hope that the plugin only limit concurrency,and different users also continue to request the router when user request the service after first .
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.
i hope that the plugin only limit concurrency,and different users also continue to request the router when user request the service after first .
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: you had said the request would been allowed when concurrence declines.When i test the plugin of limit-conn,even through i decline the conn,the request still is unsuccess. this is a bug ?
I think you should provide a complete case, we need to know more detailed step information.
Mainly two questions:
- What is the route data?
- What is your test method?
I think you should provide a complete case, we need to know more detailed step information.
Mainly two questions:
- What is the route data?
- What is your test method?
![]()
![]()
2.i use the jmeter to test plugin
let me confirm it
that is a bug, fix it soon
2.i use the jmeter to test plugin