lua-resty-limit-traffic
lua-resty-limit-traffic copied to clipboard
bug report
hi,I found function set_conn()
(which in conn.lua ) assign conn
to self.conn
which is never be used.
And the test result is consistent with my guess : set_conn()
do not make any effetc.
It looks like a wrong name mistake, conn
should change to max
, if I didn't lost any thing important.
@pearzl Mind to create a pull request so that it's easier for us to see and comment?
https://github.com/openresty/lua-resty-limit-traffic/pull/31/commits/dc25cfafb4a7b79b2f50b36a862a69c7c7ac17b5