Only fire a handler once

Aaron Bedra aaron.bedra at gmail.com
Thu Aug 22 15:53:55 UTC 2013


Any ideas for this?


On Sat, Aug 17, 2013 at 12:28 AM, Aaron Bedra <aaron.bedra at gmail.com> wrote:

> I'm looking for a way to make sure a handler only fires once. For
> instance, in Apache, you can use the guard:
>
> if (!ap_is_initial_req(r)) { skip handling }
>
> Is there anything like this? I couldn't find any documentation for it.
>
> Thanks,
>
> Aaron
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20130822/df45b86e/attachment.html>


More information about the nginx-devel mailing list