mirror of
https://github.com/dschmenk/apple2pi.git
synced 2024-11-24 12:31:30 +00:00
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
Block a user