diff src/os/unix/ngx_freebsd_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 f69d1aab6a0f
children d880fa02fb65
line wrap: on
line diff
--- a/src/os/unix/ngx_freebsd_config.h
+++ b/src/os/unix/ngx_freebsd_config.h
@@ -77,6 +77,9 @@
 #endif
 
 
+#define NGX_LISTEN_BACKLOG        -1
+
+
 #if (defined SO_ACCEPTFILTER && !defined NGX_HAVE_DEFERRED_ACCEPT)
 #define NGX_HAVE_DEFERRED_ACCEPT  1
 #endif