comparison src/os/unix/ngx_freebsd_config.h @ 5283:6d73e0dc4f64

On DragonFlyBSD, TCP_KEEPIDLE and TCP_KEEPINTVL are in msecs. Based on a patch by Sepherosa Ziehau.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 25 Jul 2013 12:46:03 +0400
parents b13419459a50
children 72e31d88defa
comparison
equal deleted inserted replaced
5282:31690d934175 5283:6d73e0dc4f64
92 92
93 93
94 #define NGX_LISTEN_BACKLOG -1 94 #define NGX_LISTEN_BACKLOG -1
95 95
96 96
97 #ifdef __DragonFly__
98 #define NGX_KEEPALIVE_FACTOR 1000
99 #endif
100
101
97 #if (__FreeBSD_version < 430000 || __FreeBSD_version < 500012) 102 #if (__FreeBSD_version < 430000 || __FreeBSD_version < 500012)
98 103
99 pid_t rfork_thread(int flags, void *stack, int (*func)(void *arg), void *arg); 104 pid_t rfork_thread(int flags, void *stack, int (*func)(void *arg), void *arg);
100 105
101 #endif 106 #endif