Welcome! Log In Create A New Profile

Advanced

ngx_unix_recv problem

August 27, 2009 04:47AM
the http request:
wget -O /tmp/re -S "http://***/setcookie" --post-data='username=liufeng&loginCookie=ayaheiheifn&domain=xxx.com'
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
Subject Author Posted

ngx_unix_recv problem

wangbin579 August 27, 2009 04:47AM

Re: ngx_unix_recv problem

wangbin579 August 27, 2009 05:10AM

Re: ngx_unix_recv problem

Maxim Dounin August 27, 2009 05:17AM

Re: ngx_unix_recv problem

Maxim Dounin August 27, 2009 05:12AM

Re: ngx_unix_recv problem

wangbin579 August 27, 2009 11:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 305
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready