So is "rewrite_by_lua" also evil?

agentzh agentzh at
Thu Oct 13 03:57:14 UTC 2011

On Thu, Oct 13, 2011 at 10:06 AM, agentzh <agentzh at> wrote:
> This information is invaluable :) I've already reproduced this bug of
> ngx_lua on my side and fixed it in my local tree.
> 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'll tag another rc release of ngx_lua for you to try when I finish
> running the whole test suite :)

Please try out the latest ngx_lua v0.3.1rc10 release:


More information about the nginx mailing list