nginx 0.8.54 ,this is my nginx conf<div><br></div><div><div> location /one/ {</div><div> eval $uid {</div><div> set $memc_cmd incr;</div><div> set $memc_key 'system_uid';</div>
<div> set $memc_value 1;</div><div> memc_pass <a href="http://127.0.0.1:11211">127.0.0.1:11211</a>;</div><div> echo 'test';</div><div><br></div><div> }</div>
<div> echo 'helloworld';</div><div><br></div><div> }</div><div> location /two/ {</div><div> echo 'helloworld';</div><div> echo_flush;</div><div> }</div>
<div><br></div><div><br></div><div>when i use curl <a href="http://127.0.0.1/two/">127.0.0.1/two/</a> i can get the output ,</div><div>but when i curl <a href="http://127.0.0.1/one/">127.0.0.1/one/</a> , it just stuck there, i can not get the output.</div>
<div><br></div><div>i checked the value of the system_uid in memcache , it really changed .</div><div><br></div><div>what is the problem? many thanks. </div><br>-- <br><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:14px"><font color="#666666"><div>
<b><span style="font-size:13px;color:rgb(0, 0, 0);font-weight:normal"><div>--------------------------</div><div><br></div><div>Best Wishes,</div><div><span style="color:rgb(102, 102, 102);font-size:14px"><b><span style="font-size:13px;color:rgb(0, 0, 0);font-weight:normal"><div style="display:inline !important">
<div style="display:inline !important">from 刘连响</div></div></span></b></span></div></span></b></div></font></span><br>
</div>