Welcome! Log In Create A New Profile

Advanced

can not get the output when i use eval module

April 17, 2011 10:56AM
nginx 0.8.54 ,this is my nginx conf

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;
}


when i use curl 127.0.0.1/two/ i can get the output ,
but when i curl 127.0.0.1/one/ , it just stuck there, i can not get the
output.

i checked the value of the system_uid in memcache , it really changed .

what is the problem? many thanks.

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

Best Wishes,
from εˆ˜θΏžε“
*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

can not get the output when i use eval module

notedit April 17, 2011 10:56AM

Re: can not get the output when i use eval module

agentzh April 18, 2011 12:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 276
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