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

bug report

Open pearzl opened this issue 6 years ago • 2 comments

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 avatar Jan 04 '18 12:01 pearzl

@pearzl Mind to create a pull request so that it's easier for us to see and comment?

agentzh avatar Jan 04 '18 19:01 agentzh

https://github.com/openresty/lua-resty-limit-traffic/pull/31/commits/dc25cfafb4a7b79b2f50b36a862a69c7c7ac17b5

pearzl avatar Jan 05 '18 01:01 pearzl