April 19, 2011 12:26PM
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 ?


location /one/ {
eval $uid {
set $memc_cmd incr;
set $memc_key 'system_uid';
set $memc_value 1;
memc_pass 127.0.0.1:11211;
echo 'test';

}
echo 'helloworld';

}
location /two/ {
echo 'helloworld';
echo_flush;
}

--
*
--------------------------

Best Wishes,
from εˆ˜θΏžε“
*
_______________________________________________
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: 168
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready