Regression fixed: set client socket non-blocking.
This commit is contained in:
parent
42eb990685
commit
e1d3724271
|
@ -1659,6 +1659,7 @@ void modesAcceptClients(void) {
|
||||||
return; /* Max number of clients reached. */
|
return; /* Max number of clients reached. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
anetNonBlock(Modes.aneterr, fd);
|
||||||
c = malloc(sizeof(*c));
|
c = malloc(sizeof(*c));
|
||||||
c->service = services[j];
|
c->service = services[j];
|
||||||
c->fd = fd;
|
c->fd = fd;
|
||||||
|
|
Loading…
Reference in a new issue