So is "rewrite_by_lua" also evil?

Nginx User nginx at
Thu Oct 13 04:32:46 UTC 2011

On 13 October 2011 05:06, agentzh <agentzh at> wrote:
> Basically, calling ngx.exec to jump to a named location is buggy in
> that ngx_http_named_location() in the nginx core does not clear module
> ctx structures as ngx_http_internal_redirect() so ngx_lua should have
> cleared its ctx itself.
I see. Don't know much about this but does this mean the httpRewrite
module does clear this ctx? I.E. why doesn't this affect the standard
rewrite module?
> I'll tag another rc release of ngx_lua for you to try when I finish
> running the whole test suite :)
> Thank you very much for the bug report! Hopefully it'll be no longer evil ;)
Thanks are to you.

More information about the nginx mailing list