On DragonFly BSD 5.8+, TCP_KEEPIDLE and TCP_KEEPINTVL are in secs.
Some checks are pending
buildbot / buildbot (push) Waiting to run

This commit is contained in:
Andy Pan 2024-10-15 17:20:20 +08:00 committed by pluknet
parent 36ca44f26f
commit 7cd60cd475

View File

@ -103,7 +103,7 @@ typedef struct aiocb ngx_aiocb_t;
#define NGX_LISTEN_BACKLOG -1
#ifdef __DragonFly__
#if (defined __DragonFly__ && __DragonFly_version < 500702)
#define NGX_KEEPALIVE_FACTOR 1000
#endif