Regression fixed: set client socket non-blocking.

This commit is contained in:
antirez 2013-01-15 00:24:19 +01:00
parent 42eb990685
commit e1d3724271

View File

@ -1659,6 +1659,7 @@ void modesAcceptClients(void) {
return; /* Max number of clients reached. */
}
anetNonBlock(Modes.aneterr, fd);
c = malloc(sizeof(*c));
c->service = services[j];
c->fd = fd;