<span style="font-family:Arial;font-size:medium;background-color:rgb(255,255,255)">Hi</span><br style="clear:both;font-family:Arial;font-size:medium"><br style="clear:both;font-family:Arial;font-size:medium"><span style="font-family:Arial;font-size:medium;background-color:rgb(255,255,255)">nginx module limit_req only can limit request frequency by url param key.</span><br style="clear:both;font-family:Arial;font-size:medium">
<span style="font-family:Arial;font-size:medium;background-color:rgb(255,255,255)">it delay a request by "ngx_add_timer(r->connection->write, delay)".</span><br style="clear:both;font-family:Arial;font-size:medium">
<br style="clear:both;font-family:Arial;font-size:medium"><span style="font-family:Arial;font-size:medium;background-color:rgb(255,255,255)">my requirement is a little bit different. i need the next request be</span><br style="clear:both;font-family:Arial;font-size:medium">
<span style="font-family:Arial;font-size:medium;background-color:rgb(255,255,255)">process immediately after the prev one have done.</span><br style="clear:both;font-family:Arial;font-size:medium"><span style="font-family:Arial;font-size:medium;background-color:rgb(255,255,255)">i have tried to use "ngx_http_cleanup_add". but it seem that the</span><br style="clear:both;font-family:Arial;font-size:medium">
<span style="font-family:Arial;font-size:medium;background-color:rgb(255,255,255)">ngx_http_request_t is not in shared mem, i can't use</span><br style="clear:both;font-family:Arial;font-size:medium"><span style="font-family:Arial;font-size:medium;background-color:rgb(255,255,255)">"ngx_add_timer(r->connection->write, 0)" to notify the next request.</span><br style="clear:both;font-family:Arial;font-size:medium">
<br style="clear:both;font-family:Arial;font-size:medium"><span style="font-family:Arial;font-size:medium;background-color:rgb(255,255,255)">thx</span>