can not get the value from eval module

notedit notedit at gmail.com
Tue Apr 19 20:24:49 MSD 2011


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   刘连响
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110420/51013a14/attachment.html>


More information about the nginx mailing list