From: Fredrik Tolf Date: Thu, 17 Mar 2011 20:16:11 +0000 (+0100) Subject: htparser: Increased listen backlog a lot. X-Git-Tag: 0.8~28 X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=4ab547c31eed8bbe9538587850a1b90d4138d609 htparser: Increased listen backlog a lot. --- 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); }