ngx_unix_recv problem

wangbin579 nginx-forum at
Thu Aug 27 12:47:05 MSD 2009

the http request:
wget -O /tmp/re -S "http://***/setcookie"  --post-data='username=liufeng&loginCookie=ayaheiheifn&'
the http request sends two packets,and ngx_unix_recv is called two times.
the  first call does work properly,
but the secend call fails:the call to recv returns -1.
if  the program sleeps for some time before recv call ,the system works properly.
who can tell me how to solve this problem

Posted at Nginx Forum:,5222,5222#msg-5222

More information about the nginx mailing list