can not get the output when i use eval module

notedit notedit at gmail.com
Sun Apr 17 18:54:52 MSD 2011


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


More information about the nginx mailing list