htparser: Increased listen backlog a lot.
[ashd.git] / src / plaintcp.c
index 321be41..b898e37 100644 (file)
@@ -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);
     }