X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/a4d1ba9a73e459d68423c4da623f8cf1663c70ba..5f5b9840c3d3f2ba6dd2f8c4d177f2bfac6f0d32:/anet.c diff --git a/anet.c b/anet.c index d58e85b6..6406bccf 100644 --- a/anet.c +++ b/anet.c @@ -28,6 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include "fmacros.h" + #include #include #include @@ -235,7 +237,7 @@ int anetTcpServer(char *err, int port, char *bindaddr) close(s); return ANET_ERR; } - if (listen(s, 32) == -1) { + if (listen(s, 64) == -1) { anetSetError(err, "listen: %s\n", strerror(errno)); close(s); return ANET_ERR;