mirror of
https://github.com/dschmenk/apple2pi.git
synced 2024-11-28 09:49:27 +00:00
Close client connection on error
This commit is contained in:
parent
cb402a78db
commit
c35c2e78d8
@ -998,8 +998,12 @@ reset:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
FD_CLR(reqfd, &openset);
|
||||||
|
close(reqfd);
|
||||||
|
reqfd = 0;
|
||||||
|
coutfd = 0;
|
||||||
|
maxfd = a2fd > srvfd ? a2fd : srvfd;
|
||||||
prlog("a2pid: error read socket ????");
|
prlog("a2pid: error read socket ????");
|
||||||
state = RESET;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user