lua-resty-limit-traffic icon indicating copy to clipboard operation
lua-resty-limit-traffic copied to clipboard

Lua library for limiting and controlling traffic in OpenResty/ngx_lua

Results 34 lua-resty-limit-traffic issues
Sort by recently updated
recently updated
newest added

on line 114 of req.lua ``` 111 if commit then 112 rec_cdata.excess = excess 113 rec_cdata.last = now 114 dict:set(key, ffi_str(rec_cdata, rec_size)) 115 end ``` I think it will save...

https://github.com/openresty/lua-resty-limit-traffic/blob/master/lib/resty/limit/conn.md Trigger condition: The backend API processing time exceeds the maximum timeout set in Nginx. Problem triggered: During the log_by_lua phase, ctx.limit_conn is nil, resulting in the inability to invoke...

I have some confusion as to where limit_req.new should be initialized My requirement is to limit the flow based on rules. For example, depending on the requested URI, the flow...

This is the error from error log: ``` 2024/04/02 18:02:08 [error] 7#0: *1 [lua] whitelist.lua:96: failed to instantiate a rest1111111: nil, client: 172.22.0.5, server: _, request: "GET / HTTP/1.1", host:...