Pierre
May 02, 2012 04:12AM
Hi all,

I'm trying to use both echo module & lua, but I'm having some issues:

1. I reach quickly "subrequests cycle". Looking @ the code, subrequests
is unsigned:8,
but I would need thousands of subrequests sometimes. putting
subrequests to unsigned just
results to crashes.

2. when in config: set_by_lua_file $varname luafile.lua , and
luafile.lua references to ngx.ctx,
I get the following error:
(lua-error)...no request ctx found
according to the doc, ngx.ctx is available in set_lua*, but does not
work. Would anybody suggest
me a workaround ?

I'm using luajit, openresty last version.


Thanks a lot in advance,
Pierre

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
SubjectAuthorPosted

nginx, echo module & lua

PierreMay 02, 2012 04:12AM

Re: nginx, echo module & lua

agentzhMay 02, 2012 07:48AM

Re: nginx, echo module & lua

PierreMay 02, 2012 09:40AM

Re: nginx, echo module & lua

agentzhMay 02, 2012 11:12AM

Re: nginx, echo module & lua

PierreMay 02, 2012 07:36PM

Re: nginx, echo module & lua

Antonio P.P. AlmeidaMay 03, 2012 03:54AM

Re: nginx, echo module & lua

agentzhMay 03, 2012 08:54AM

Re: nginx, echo module & lua

PierreMay 03, 2012 06:44AM

Re: nginx, echo module & lua

agentzhMay 03, 2012 09:04AM

Re: nginx, echo module & lua

PierreMay 03, 2012 11:40AM

Re: nginx, echo module & lua

agentzhMay 03, 2012 08:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 49
Record Number of Users: 5 on May 22, 2013
Record Number of Guests: 150 on May 22, 2013
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready