From 031a6e2906592b4f5bfa6f21eb2fe2d49478139c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 9 Aug 2007 13:32:21 +0000 Subject: set default listen() backlog to 511 on all platforms except FreeBSD --- src/os/unix/ngx_posix_config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/os/unix/ngx_posix_config.h') diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h index 8a9509960..f79657654 100644 --- a/src/os/unix/ngx_posix_config.h +++ b/src/os/unix/ngx_posix_config.h @@ -88,6 +88,9 @@ #endif +#define NGX_LISTEN_BACKLOG 511 + + #if (__FreeBSD__) && (__FreeBSD_version < 400017) #include /* ALIGN() */ -- cgit