is that possible to queue request one by one

Jossan Davis jossandavis at gmail.com
Thu Oct 25 18:52:25 UTC 2012


Hi

nginx module limit_req only can limit request frequency by url param key.
it delay a request by "ngx_add_timer(r->connection->write, delay)".

my requirement is a little bit different. i need the next request be
process immediately after the prev one have done.
i have tried to use "ngx_http_cleanup_add". but it seem that the
ngx_http_request_t is not in shared mem, i can't use
"ngx_add_timer(r->connection->write, 0)" to notify the next request.

thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20121026/076fc9e5/attachment.html>


More information about the nginx mailing list