diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-04-21 22:54:33 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-04-21 22:54:33 +0400 |
commit | 732a27196381164c799d345ec0d010b416408555 (patch) | |
tree | 043848398927223e1b08d1b15c071b3a23717d76 /src/core/ngx_config.h | |
parent | bb570859043557c5c1b20d933ff2e4c18d13c980 (diff) |
nginx-0.0.3-2004-04-21-22:54:33 import
Diffstat (limited to 'src/core/ngx_config.h')
-rw-r--r-- | src/core/ngx_config.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h index dea3e5cf9..3d44f1ea4 100644 --- a/src/core/ngx_config.h +++ b/src/core/ngx_config.h @@ -2,29 +2,22 @@ #define _NGX_CONFIG_H_INCLUDED_ -#if 0 -/* STUB to allocate a big ngx_connections */ -#undef FD_SETSIZE -#define FD_SETSIZE 5000 -#endif - - -#if defined __DragonFly__ && !defined(__FreeBSD__) +#if defined __DragonFly__ && !defined __FreeBSD__ #define __FreeBSD__ 4 #define __FreeBSD_version 480101 #endif -#if defined (__FreeBSD__) +#if defined __FreeBSD__ #include <ngx_freebsd_config.h> -#elif defined (__linux__) +#elif defined __linux__ #include <ngx_linux_config.h> /* Solaris */ -#elif defined (sun) && (defined (__svr4__) || defined (__SVR4)) +#elif defined sun && (defined __svr4__ || defined __SVR4) #include <ngx_solaris_config.h> @@ -101,6 +94,8 @@ typedef int ngx_flag_t; #define ngx_inline inline #endif +#define NGX_ACCEPT_THRESHOLD 50 + #ifndef INADDR_NONE /* Solaris */ #define INADDR_NONE ((unsigned int) -1) #endif |