diff src/os/unix/ngx_linux_config.h @ 1377:0d57c150115b

set default listen() backlog to 511 on all platforms except FreeBSD
author Igor Sysoev <igor@sysoev.ru>
date Thu, 09 Aug 2007 13:32:21 +0000
parents 532d15ddbe68
children 379ee44a4456
line wrap: on
line diff
--- a/src/os/unix/ngx_linux_config.h	Tue Aug 07 12:34:20 2007 +0000
+++ b/src/os/unix/ngx_linux_config.h	Thu Aug 09 13:32:21 2007 +0000
@@ -78,6 +78,9 @@
 #endif
 
 
+#define NGX_LISTEN_BACKLOG        511
+
+
 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT
 #define NGX_HAVE_DEFERRED_ACCEPT  1
 #endif