openresty / lua-resty-limit-traffic

Lua library for limiting and controlling traffic in OpenResty/ngx_lua
819 stars 150 forks source link

A question about limit_conn #60

Open silveric10 opened 3 years ago

silveric10 commented 3 years ago

Hello, I have a question about limit_conn, the description said that it can "limit request concurrency (or concurrent connections)", but after I read the source code, I think it can only be used to limit the HTTP requests, not something like TCP connection. I wonder how to use it for TCP connection when I set configuration like "keepalive_requests", thank you.

xianlubird commented 3 years ago