From 4ab547c31eed8bbe9538587850a1b90d4138d609 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Thu, 17 Mar 2011 21:16:11 +0100 Subject: [PATCH] htparser: Increased listen backlog a lot. --- src/plaintcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plaintcp.c b/src/plaintcp.c index 321be41..b898e37 100644 --- a/src/plaintcp.c +++ b/src/plaintcp.c @@ -65,7 +65,7 @@ int listensock4(int port) close(fd); return(-1); } - if(listen(fd, 16) < 0) { + if(listen(fd, 128) < 0) { close(fd); return(-1); } @@ -90,7 +90,7 @@ int listensock6(int port) close(fd); return(-1); } - if(listen(fd, 16) < 0) { + if(listen(fd, 128) < 0) { close(fd); return(-1); } -- 2.11.0