Close client connection on error
This commit is contained in:
parent
cb402a78db
commit
c35c2e78d8
|
@ -998,8 +998,12 @@ reset:
|
|||
}
|
||||
else
|
||||
{
|
||||
FD_CLR(reqfd, &openset);
|
||||
close(reqfd);
|
||||
reqfd = 0;
|
||||
coutfd = 0;
|
||||
maxfd = a2fd > srvfd ? a2fd : srvfd;
|
||||
prlog("a2pid: error read socket ????");
|
||||
state = RESET;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue