atom feed3 messages in ru.sysoev.nginxcan not get the value from eval module
FromSent OnAttachments
noteditApr 19, 2011 9:24 am 
agentzhApr 19, 2011 9:50 pm 
agentzhApr 19, 2011 9:54 pm 
Subject:can not get the value from eval module
From:notedit (note@gmail.com)
Date:Apr 19, 2011 9:24:16 am
List:ru.sysoev.nginx

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 刘连响 *