From 3b9fe8c5bfdfa57806994180bb9b8797cefb8279 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 16 May 2005 16:26:10 +0000 Subject: Increased listen backlog from 5 to use SOMAXCONN, system defined constant maximim connections as recommended by GeniusDex git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1407 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/connection.cpp') diff --git a/src/connection.cpp b/src/connection.cpp index e08fcb4e1..26d011914 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -133,7 +133,7 @@ bool connection::CreateListener(char* newhost, int p) this->port = p; - listen(this->fd,5); + listen(this->fd,SOMAXCONN); return true; } -- cgit v1.2.3