lua-resty-limit-traffic
lua-resty-limit-traffic copied to clipboard
Fix race condition in resty.limit.req using ngx.shared.DICT.set_when
This pull request fixes the race condition in resty.limit.req
.
The following pull request must be merged before merging this pull request.
I hereby granted the copyright of the changes in this pull request to the authors of this lua-resty-core project.
Test passes with my pull request branches for lua-nginx-module and lua-resty-core. https://travis-ci.org/hnakamur/lua-resty-limit-traffic/builds/576456344
Could you review this pull request? Thanks!