Welcome! Log In Create A New Profile

Advanced

Re: can not get the value from eval module

agentzh
April 20, 2011 12:52AM
On Wed, Apr 20, 2011 at 12:24 AM, notedit <notedit@gmail.com> wrote:
> sorry about i send the same email secondly,   i still can not figure it out.
> i use the nginx eval module, echo module and memc module, so i did a test.
> but when i curl 127.0.0.1/one/  , it just stuck there, i can not get the
> output.
> when i check the value of  system_uid in memcache , it really changed.
> but why it was stuck there?  when i curl 127.0.0.1/two/ ,  i can get the
> correct output.
> i test in my two pc,  i get the same result.
> some one can help me ?

The official ngx_eval module can only work with content handlers that
explicitly support the "nginx subrequest in memory" feature. Just a
few modules support that, like ngx_proxy, ngx_memcached, and ngx_memc.
My ngx_echo does not support it, nor does ngx_fastcgi.

You can try out my fork of ngx_eval instead:

https://github.com/agentzh/nginx-eval-module

But as the README page of my fork has already says, it's recommended
to use ngx_lua to do such tasks because it is more flexible and more
reliable.

Cheers,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

can not get the value from eval module

notedit April 19, 2011 12:26PM

Re: can not get the value from eval module

agentzh April 20, 2011 12:52AM

Re: can not get the value from eval module

agentzh April 20, 2011 12:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 62
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready