Lua Variable access bug?

lanshun zhou zls.sogou at gmail.com
Tue May 22 10:33:01 UTC 2012


Not sure if it's a good idea to save the index in main conf.

2012/5/18 Maxim Dounin <mdounin at mdounin.ru>:
> Hello!
>
> On Fri, May 18, 2012 at 10:56:47AM +0800, lanshun zhou wrote:
>
>> Yeah, and it's not safe to save variable index in a global variable,
>> like ngx_http_userid_reset_index in userid filter module.
>
> Sure.  Care to provide patch?
>
> Maxim Dounin
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: userid_index2.patch
Type: application/octet-stream
Size: 9831 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120522/2159fb74/attachment.obj>


More information about the nginx-devel mailing list